Questions

M.C.Q [1M]

🎯

Test yourself on this topic

38 questions · timed · auto-graded

MCQ 11 Mark
Border, cellspacing, cellpadding, align are the attributes of:
  • A
    $<$body$>$
  • B
    $<$img$>$
  • $<$table$>$
  • D
    None of these
Answer
Correct option: C.
$<$table$>$
C
View full question & answer
MCQ 21 Mark
Which tag tells where a link starts?
  • A
    $<$l$>$
  • B
    $<$STAR$>$
  • $\langle A \rangle$
  • D
    None of these
Answer
Correct option: C.
$\langle A \rangle$
C
View full question & answer
MCQ 31 Mark
Choose the correct syntax to create an email link:
  • A
    $<$;A href= "abc@xyz.com"$>$
  • $<$A href= "mailto:abc@xyz.com"$>$
  • C
    $<$mail= "abc@xyz.com"$>$
  • D
    $<$Amail="abc@xyz.com"$>$
Answer
Correct option: B.
$<$A href= "mailto:abc@xyz.com"$>$
B
View full question & answer
MCQ 41 Mark
Choose the correct HTML to left-align the content inside a table cell:
  • A
    (<$td valign = "left"$>$
  • B
    $<$tdleft$>$
  • C
    $<$td leftalign$>$
  • $<$td align = "left"$>$
Answer
Correct option: D.
$<$td align = "left"$>$
D
View full question & answer
MCQ 51 Mark
Choose the correct HTML to right-align the content inside a table cell:
  • A
    $<$td valign = "right"$>$
  • B
    $<$tdright$>$
  • C
    $<$td rightalign$>$
  • $<$td align = "right"$>$
Answer
Correct option: D.
$<$td align = "right"$>$
D
View full question & answer
MCQ 61 Mark
The attribute used to set the border colour of a table is:
  • A
    BORDER
  • BORDERCOLOR
  • C
    COLOR
  • D
    BORDER COLOR
Answer
Correct option: B.
BORDERCOLOR
B
View full question & answer
MCQ 71 Mark
The two common attributes of the $<$IMG$>$and the $<$TABLE$>$ tag are:
  • A
    SRC and HEIGHT
  • B
    HEIGHT and WIDTH
  • C
    BORDER and SRC
  • They do not have two common attributes
Answer
Correct option: D.
They do not have two common attributes
D
View full question & answer
MCQ 81 Mark
For internal linking, the section names are provided by $\qquad$ attribute.
  • NAME
  • B
    Title
  • C
    Target
  • D
    HREF
Answer
Correct option: A.
NAME
A
View full question & answer
MCQ 91 Mark
To create a link, we must use ______attribute with the $<$A$>$ tag.
  • A
    NAME
  • B
    Link
  • C
    Tag
  • HREF
Answer
Correct option: D.
HREF
D
View full question & answer
MCQ 101 Mark
Which tag allows you to add a row in a table?
  • A
    $\langle t d\rangle$ and $\rangle / t d\rangle$
  • B
    $<$cr$>$and $<$/cr$>$
  • C
    $<$th$>$ and $<$/th$>$
  • $<$tr$>$ and $<$/tr$>$
Answer
Correct option: D.
$<$tr$>$ and $<$/tr$>$
D
View full question & answer
MCQ 121 Mark
Which of the following is not an attribute of $<$TABLE$>$ tag?
  • A
    Border
  • B
    Background
  • C
    Bgcolor
  • SRC
Answer
Correct option: D.
SRC
D
View full question & answer
MCQ 131 Mark
Combining two or more cells in a table on a web page is called:
  • Merging
  • B
    Spanning
  • C
    Combining
  • D
    None of these
Answer
Correct option: A.
Merging
A
View full question & answer
MCQ 141 Mark
Which of these tags is/are used with $<$Table$>$tag?
  • A
    $<$TR$>$
  • B
    $<$TD$>$
  • C
    $<$TH$>$
  • All of the above
Answer
Correct option: D.
All of the above
D
View full question & answer
MCQ 151 Mark
Which of these tags belong to $<$table$>$ tag?
  • A
    $<$head$>$$<$body$>$$<$tr$>$
  • $<$table$>$ $<$tr$>$ $<$td$>$
  • C
    $<$table$>$ $<$head$>$ $<$tfoot$>$
  • D
    $<$table$>$$<$tr$>$ $<$tt$>$
Answer
Correct option: B.
$<$table$>$ $<$tr$>$ $<$td$>$
B
View full question & answer
MCQ 161 Mark
Which attribute tells us how many rows a cell should span?
  • A
    colspan $=n$
  • rowspan $=n$
  • C
    Both a. \& b.
  • D
    None of the above
Answer
Correct option: B.
rowspan $=n$
B
View full question & answer
MCQ 171 Mark
In order to add border to a table, border attribute is specified in which tag?
  • A
    $<$TH$>$
  • $<$TABLE$>$
  • C
    $<$TD$>$
  • D
    $<$TR$>$
Answer
Correct option: B.
$<$TABLE$>$
B
View full question & answer
MCQ 181 Mark
Rowspan $= n$ can be added to only which tag?
  • A
    $<$HR$>$
  • B
    $<$TABLE$>$
  • $<$TD$>$
  • D
    $<$TR$>$
Answer
Correct option: C.
$<$TD$>$
C
View full question & answer
MCQ 191 Mark
Which tag is used to add columns to tables?
  • A
    $<$COLSPAN$>$
  • $<$TD$>$
  • C
    $<$TR$>$
  • D
    All of these
Answer
Correct option: B.
$<$TD$>$
B
View full question & answer
MCQ 201 Mark
Which of the following is an attribute of $<$TABLE$>$ tag?
  • A
    SRC
  • B
    Link
  • C
    Bold
  • Cellpadding
Answer
Correct option: D.
Cellpadding
D
View full question & answer
MCQ 211 Mark
Which property is used to position and format the text?
  • A
    Outline
  • Float
  • C
    Border
  • D
    None of these
Answer
Correct option: B.
Float
B
View full question & answer
MCQ 221 Mark
In an HTML document, where are the CSS code included?
  • A
    Head section
  • B
    Body section
  • Both a. and b.
  • D
    None of these
Answer
Correct option: C.
Both a. and b.
C
View full question & answer
MCQ 231 Mark
Which of the following is not one of the border properties?
  • Border-height
  • B
    Border-style
  • C
    Border-width
  • D
    All of these
Answer
Correct option: A.
Border-height
A
View full question & answer
MCQ 241 Mark
Which of the following is not one of the Font properties?
  • A
    Font-family
  • B
    font-weight
  • text-align
  • D
    All of these
Answer
Correct option: C.
text-align
C
View full question & answer
MCQ 251 Mark
Which of the following is used to increase the style of the web page?
  • A
    HTML
  • CSS
  • C
    Scripting
  • D
    None of these
Answer
Correct option: B.
CSS
B
View full question & answer
MCQ 261 Mark
If we want an image to be the hyperlink, the correct syntax is:
  • A
    $<$img src = image.fif$>$$<$a href = try.html$>$click$<$/a$>$
  • $<$a href = try.html$>$$<$img src = image.gif$>$click$<$/a$>$
  • C
    $<$a href = image.gif$>$$<$img src = try.html$>$click$<$/a$>$
  • D
    $<$img src = try.html$>$
Answer
Correct option: B.
$<$a href = try.html$>$$<$img src = image.gif$>$click$<$/a$>$
B
View full question & answer
MCQ 271 Mark
Which of the following can be the value of the Border-style property of an element in a web page?
  • A
    Solid, Double
  • B
    Groove, Ridge
  • C
    Inset, Outset
  • D
    All of these
Answer
self
View full question & answer
MCQ 281 Mark
Which of the following is used to set only the top margin of an element in a web page?
  • A
    Top-margin
  • B
    Margin-top
  • C
    Margin
  • D
    All of these
Answer
self
View full question & answer
MCQ 291 Mark
What is the CSS code used to specify the background color?
  • A
    Background
  • B
    Background-color
  • C
    Color
  • D
    None of these
Answer
self
View full question & answer
MCQ 301 Mark
Which of the following properties can have the value Normal, Italic and Oblique?
  • A
    Font-family
  • B
    font-style
  • C
    font-weight
  • D
    font-size
Answer
self
View full question & answer
MCQ 331 Mark
Value of Attribute "href" is also called as _________ of the Destination Web Page.
  • A
    HREF
  • B
    URL
  • C
    LINK
  • D
    SRC
Answer
self
View full question & answer
MCQ 351 Mark
Which of the following tags is used to link the URL?
  • A
    $<$LINK$>$
  • B
    $<$A$>$
  • C
    $<$HYPERLINK$>$
  • D
    $<$STYLE$>$
Answer
self
View full question & answer
MCQ 361 Mark
The width of the inside cell borders for the table cells is called:
  • A
    CELLWIDTH
  • B
    CELLPADDING
  • C
    CELLSPACING
  • D
    CELLHEIGHT
Answer
self
View full question & answer
MCQ 371 Mark
_________ vertical alignment aligns the baseline of the text across the cells in the row.
  • A
    BASELINE
  • B
    MIDDLE
  • C
    TOP
  • D
    BOTTOM
Answer
self
View full question & answer