Commerce

Basic Html MCQs

Practice Basic Html MCQs for competitive exams.

Basic Html MCQs

Practice questions from this topic.

Rendering engine is not responsible for

  1. A. parsing the markup content (HTML)
  2. B. parsing style information (CSS, XSL, and so on)
  3. C. generating a visual presentation of the formatted content including media files referenced
  4. D. none of the mentioned
Report Error

Identify the count of mistakes in the following markup.
    • Hello



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

    Which of the following is not a correct (X)HTML rule?

    1. A. Attributes should be quoted
    2. B. Tags should nest not tag
    3. C. Unused elements may be minimized
    4. D. Unknown attributes are ignored by the browser
    Report Error

    Which of the following markup is correct? i. is in error as tags cross ii. is not since tags nest

    1. A. i
    2. B. ii
    3. C. i and ii
    4. D. None of the mentioned
    Report Error

    Which of the following options follows content model in HTML? i.

      Option one

    ii.
    • Option two

    1. A. i
    2. B. ii
    3. C. i and ii
    4. D. None of the mentioned
    Report Error

    Choose the correct XHTML for width attribute and its value.

    1. A. width=80
    2. B. width=”80″
    3. C. WIDTH=”80″
    4. D. WIDTH=80
    Report Error

    Which of the following are table tags?

    1. A. table, thead, tr, td
    2. B. colspan, table, tr
    3. C. table, tt, tr, td
    4. D. none of the mentioned
    Report Error

    Choose the correct tag for largest heading in HTML.

    1. A. h6
    2. B. heading
    3. C. h1
    4. D. head
    Report Error

    HTML and XHTML stands for

    1. A. Hyper Text Markup Language and EXtensible HyperText Markup Language
    2. B. Hyper Text Markup Language and EXtensible HyperText Marking Language
    3. C. Hyper Text Marking Language and EXtensible HyperText Marking Language
    4. D. None of the mentioned
    Report Error

    State whether the given statement is true or false. “We can intermix XHTML and HTML 4.01 documents”

    1. A. True
    2. B. False
    Report Error

    What indicates the content in file is HTML when delivered on the network.

    1. A. The extension of the file “.html”
    2. B. The “content-type” header
    3. C. Both “.html” extension and “content-type” header
    4. D. None of the mentioned
    Report Error

    Which of the following is not a difference between HTML and XHTML

    1. A. Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”
    2. B. None of the mentioned
    3. C. Tags and attributes are case-insensitive in HTML but not in XHTML
    4. D. Special characters must be escaped using character entities in XHTML unlike HTML
    Report Error