Questions

M.C.Q [1M]

🎯

Test yourself on this topic

41 questions · timed · auto-graded

MCQ 21 Mark
Which tag is used to render a horizontal line?
  • A
    $<$H1$>$
  • $<$HR$>$
  • C
    $<$RULE$>$
  • D
    $<$BR$>$
Answer
Correct option: B.
$<$HR$>$
B
View full question & answer
MCQ 31 Mark
What is the correct HTML tag for adding a background color?
  • A
    $<$BODY color= "yellow"$>$
  • $<$BODY bgcolor ="yellow"$>$
  • C
    $<$BACKGROUND$>$yellow$<$/BACKGROUND$>$
  • D
    $<$BODY background="yellow"$>$
Answer
Correct option: B.
$<$BODY bgcolor ="yellow"$>$
B
View full question & answer
MCQ 41 Mark
What is the correct HTML tag for inserting a line break?
  • $<$BR$>$
  • B
    $<$lb$>$
  • C
    $<$BREAK$>$
  • D
    $<$NEWLINE$>$
Answer
Correct option: A.
$<$BR$>$
A
View full question & answer
MCQ 51 Mark
We can create a numbered list using __________tag.
  • A
    $<$UL$>$
  • B
    $<$LIST$>$
  • $<$OL$>$
  • D
    $<$DI$>$
Answer
Correct option: C.
$<$OL$>$
C
View full question & answer
MCQ 61 Mark
Which sequence of HTML tags is correct?
  • $<$HTML$>$$<$HEAD$>$TITLE$>$$<$/TITLE$>$$<$/HEAD$>$$<$BODY$>$$<$/BODY$>$$<$/HTML$>$
  • B
    $<$HTML$>$$<$HEAD$>$$<$/HEAD$>$$<$BODY$>$$<$TITLE$>$$<$/TITLE$>$$<$/BODY$>$$<$/HTML$>$
  • C
    $<$HTML$>$$<$HEAD$>$TITLE$>$$<$/TITLE$>$$<$BODY$>$$<$/BODY$>$$<$/HEAD$>$$<$/HTML$>$
  • D
    $<$HTML$>$$<$TITLE$>$$<$/TITLE$>$$<$HEAD$>$$<$/HEAD$>$BODY$>$$<$/BODY$>$$<$/HTML$>$
Answer
Correct option: A.
$<$HTML$>$$<$HEAD$>$TITLE$>$$<$/TITLE$>$$<$/HEAD$>$$<$BODY$>$$<$/BODY$>$$<$/HTML$>$
A
View full question & answer
MCQ 71 Mark
Anything written between _____________- is taken as comment.
  • A
    $<$?-$>$
  • B
    $<$?-- -?$>$
  • $<$!-and-$>$
  • D
    $<$/---$>$
Answer
Correct option: C.
$<$!-and-$>$
C
View full question & answer
MCQ 81 Mark
Which of the following are the heading tags?
  • A
    $<$H3$>$
  • B
    $<$H6$>$
  • C
    $<$H4$>$
  • All of the above
Answer
Correct option: D.
All of the above
D
View full question & answer
MCQ 111 Mark
To start a list with alphabet " $E$ " which line should be used?
  • A
    1. $<$OL type="A" start="5"$>$
    2. C
      $<$OL type="E"$>$
    3. D
      $<$OL start="E"$>$
    Answer
    Correct option: B.
    $<$OL type="A" start="5"$>$
    B
    View full question & answer
    MCQ 121 Mark
    Choose correct HTML tag for the largest heading.
    • $<$H1$>$
    • B
      $<$H6$>$
    • C
      $<$Big heading$>$
    • D
      $<$H size = 1$>$
    Answer
    Correct option: A.
    $<$H1$>$
    A
    View full question & answer
    MCQ 131 Mark
    The $<$HR$>$ tag inserts ___________on a web page.
    • a straight line
    • B
      a circle
    • C
      a border
    • D
      None of these
    Answer
    Correct option: A.
    a straight line
    A
    View full question & answer
    MCQ 141 Mark
    Which attribute is not valid for $<$BODY$>$ tag?
    • A
      Background
    • Color
    • C
      Vlink
    • D
      Leftmargin
    Answer
    Correct option: B.
    Color
    B
    View full question & answer
    MCQ 151 Mark
    Which HTML tags cause browsers to render text as italics?
    • A
      $<$text style= "italics"$>$$<$/text$>$
    • B
      $<$ita I.$>$$<$/ita 1.$>$
    • $<$i$>$$<$/i$>$
    • D
      $<$b$>$$<$/b$>$
    Answer
    Correct option: C.
    $<$i$>$$<$/i$>$
    C
    View full question & answer
    MCQ 161 Mark
    To start a list with no. 3, we should write:
    • $<$OL start = 3$>$
    • B
      $<$OL type = 3$>$
    • C
      $<$ Ol value $=3>$
    • D
      All of the above
    Answer
    Correct option: A.
    $<$OL start = 3$>$
    A
    View full question & answer
    MCQ 171 Mark
    The document structure elements of HTML page is:
    • A
      HTML
    • B
      BODY
    • C
      HEAD
    • All of the above
    Answer
    Correct option: D.
    All of the above
    D
    View full question & answer
    MCQ 191 Mark
    Which of the following will give the largest size of text?
    • A
      $<$ H3$>$
    • B
      $<$H6$>$
    • $<$H2$>$
    • D
      $<$H4$>$
    Answer
    Correct option: C.
    $<$H2$>$
    C
    View full question & answer
    MCQ 201 Mark
    To display "bullets" against list items we use:
    • A
      $<$OL$>$
    • $<$UL$>$
    • C
      Both of them
    • D
      None of them
    Answer
    Correct option: B.
    $<$UL$>$
    B
    View full question & answer
    MCQ 211 Mark
    HTML tag to convert a regular text into heading:
    • $H 1 \ldots H 6$
    • B
      $<$HEADING$>$
    • C
      $<$HEAD$>$
    • D
      $<$TITLE$>$
    Answer
    Correct option: A.
    $H 1 \ldots H 6$
    A
    View full question & answer
    MCQ 221 Mark
    LINK, VLINK and ALINK are the attributes of:
    • $<$BODY$>$ tag
    • B
      $<$HEAD$>$ tag
    • C
      $<$TITLE$>$ tag
    • D
      $<$A$>$ tag
    Answer
    Correct option: A.
    $<$BODY$>$ tag
    A
    View full question & answer
    MCQ 231 Mark
    A link used to navigate or open other web pages on a website on internet is called:
    • A
      Higherlink
    • Hyperlink
    • C
      Heterolink
    • D
      None of above
    Answer
    Correct option: B.
    Hyperlink
    B
    View full question & answer
    MCQ 241 Mark
    FACE and SIZE are the attributes of ___________ tag.
    • A
      $<$FONT$>$
    • B
      $<$BASEFONT$>$
    • C
      $<$H1$>$............ $<$H6$>$
    • Both a. and b.
    Answer
    Correct option: D.
    Both a. and b.
    D
    View full question & answer
    MCQ 261 Mark
    BACKGROUND is an attribute of:
    • $<$BODY$>$ tag
    • B
      $<$FONT$>$ tag
    • C
      $<$IMG$>$ tag
    • D
      $<$A$>$ tag
    Answer
    Correct option: A.
    $<$BODY$>$ tag
    A
    View full question & answer
    MCQ 281 Mark
    Identify the attribute(s) which are common in FONT and BASEFONT tag:
    • A
      FACE
    • B
      SIZE
    • C
      BGCOLOR
    • Both a. and b.
    Answer
    Correct option: D.
    Both a. and b.
    D
    View full question & answer
    MCQ 291 Mark
    HTML uses:
    • Predefined Tags
    • B
      User defined Tags
    • C
      Both of them
    • D
      None of them
    Answer
    Correct option: A.
    Predefined Tags
    A
    View full question & answer
    MCQ 301 Mark
    The tags that require a starting as well as ending tag are called:
    • A
      Pair tag
    • B
      Empty tag
    • Container tag
    • D
      Twin tag
    Answer
    Correct option: C.
    Container tag
    C
    View full question & answer
    MCQ 311 Mark
    To start a list with default "•" which is the correct syntax?
    • A
      $<$ul type=" A"$>$
    • $<$ul type=" disc"$>$
    • C
      $<$ol type=" circle"$>$
    • D
      $<$ol start=" circle"$>$
    Answer
    Correct option: B.
    $<$ul type=" disc"$>$
    B
    View full question & answer
    MCQ 361 Mark
    HTML is a _________.
    • A
      Case sensitive language
    • B
      Written in both capital and small letters.
    • C
      Both
    • D
      None of these
    Answer
    self
    View full question & answer
    MCQ 401 Mark
    How will HTML display $<$P$>$'| pray to $<$l$>$God$<$/l$>$everyday,'$<$P$>$?
    • A
      I pray to god everyday.
    • B
      I pray to God everyday'.
    • C
      I pray to god everyday.
    • D
      I pray to GOD everyday.
    Answer
    self
    View full question & answer