Html miscellaneous


  1. What is the size of content of an <h1> element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The contents of an <h1> element is the largest and the contents of an <h6> element is the smallest. Rest of <h2>, <h3>, <h4>, <h5> lies in between largest and smallest.


  1. How many levels of headings HTML has?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    HTML has six “levels ” of headings.<h1> is used for main headings,<h2> is used for subheadings. There is no other levels other than <h1>, <h2>, <h3>, <h4>, <h5>, <h6>



  1. What does semantic markup not define?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    <Semantic markup> which provides extra information, such as where emphasis is placed in a sentence, that something you have written is a quotation, the meaning of acronyms etc.


  1. Which of the following is not example of block element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The elements which always appear to start on a new line in browser are known as block level elements. Examples are <h1>,<ul>,<li> and <p>.



  1. Which one is correct syntax?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    <p id=”td”> is the correct syntax for id type declaration. Id attribute’s value should start with a letter or an underscore. We cannot use any number or other character for defining name of the id.