Commerce

Basic Html MCQs

Practice Basic Html MCQs for competitive exams.

Basic Html MCQs

Practice questions from this topic.

Which of the following XHTML doctype declaration contains all HTML elements and attributes, including presentational and deprecated elements (like font) but not framesets?

  1. A. !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
  2. B. !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
  3. C. !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"
Report Error

Which tag is used with JavaScript?

  1. B.
  2. C.
  3. D.
  4. Report Error

    Which element was not removed by HTML5?

    1. A.
    2. C.
    3. D.
    Report Error

    What if one does not use the doctype in the starting of HTML document?

    1. A. Browser finds the document in quirky mode
    2. B. Browser finds a document in standard mode
    3. C. Browser stops working
    4. D. Browser crashes after showing the page
    Report Error

    Which one is the correct syntax for specifying media type?

    1. A. type "/" subtype *( ";" parameter)
    2. B. subtype "/" type *(";" parameter)
    3. C. parameter "/" type *(";" subtype)
    4. D. (";" subtype) "/" type *(parameter)
    Report Error

    Which of the following is not a response-header field?

    1. A. Location
    2. B. Server
    3. C. ETag
    4. D. Referer
    Report Error

    What output do you expect if the following markup is rendered? T e s t o f s p a c e s T e s t o f s p a c e s

    1. A. T e s t o f s p a c e s T e s t o f s p a c e s
    2. B. Testofspaces Testofspaces
    3. C. T e s t o f s p a c e s T e s t o f s p a c e s
    4. D. T e s t o f s p a c e s T e s t o f s p a c e s
    Report Error

    Which element is used to get highlighted text in HTML5?

    1. B.
    2. C.
    3. D.
    Report Error

    Which symbol is used when HTTP request does not apply to the particular source?

    1. A. '&'
    2. B. '*'
    3. C. '#'
    4. D. '@'
    Report Error

    Which of the following prints bold letters in traditional HTML? i. Bold Text ii. Bold Text iii. Bold Text iv. Bold Text

    1. A. iv
    2. B. i
    3. C. i, ii, iii, and iv
    4. D. both iv and i
    Report Error

    What does
    include?

    1. A. Header
    2. B. Sidebar
    3. C. Article
    4. D. Footer
    Report Error

    Which tag supports Non-English language?

    1. B.
    2. D.
    Report Error