Home / CSE / HTML- CS :: Basic HTML

CSE :: HTML- CS

  1. State whether the given statement is true or false. !DOCTYPE is case sensitive”

  2. A.

     True

    B.

     False


  3. Choose the correct statement of HTML

  4. A.

     In traditional XHTML close tag for some elements is optional but not encouraged

    B.

     In traditional HTML close tag for some elements is optional but not encouraged

    C.

     None of the mentioned

    D.

     In both traditional XHTML and HTML close tag for some elements is optional


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

  6. A.

     Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”

    B.

     None of the mentioned

    C.

     Tags and attributes are case-insensitive in HTML but not in XHTML

    D.

     Special characters must be escaped using character entities in XHTML unlike HTML


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

  8. A.

     The extension of the file “.html”

    B.

     The “content-type” header

    C.

     Both “.html” extension and “content-type” header

    D.

     None of the mentioned


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

  10. A.

     True

    B.

     False


  11. HTML and XHTML stands for

  12. A.

     Hyper Text Markup Language and EXtensible HyperText Markup Language

    B.

     Hyper Text Markup Language and EXtensible HyperText Marking Language

    C.

     Hyper Text Marking Language and EXtensible HyperText Marking Language

    D.

     None of the mentioned


  13. Choose the correct tag for largest heading in HTML.

  14. A.

     h6

    B.

     heading

    C.

     h1

    D.

     head


  15. Which of the following are table tags?

  16. A.

     table, thead, tr, td

    B.

     colspan, table, tr

    C.

     table, tt, tr, td

    D.

     none of the mentioned


  17. Choose the correct XHTML for width attribute and its value.

  18. A.

     width=80

    B.

     width=”80″

    C.

     WIDTH=”80″

    D.

     WIDTH=80


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

    i.<ul>

    <p>Option one </p>

    </ul>

    ii.<ul>

    <li>Option two </li>

    </ul>

  20. A.

     i

    B.

     ii

    C.

     i and ii

    D.

     None of the mentioned