HTML Basic


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











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Headings in HTML starts from <h1> to <h6> in which <h1> heading is the largest one and <h6> is smallest one among those. The heading tags are <h1> <h2> <h3> <h4> <h5> and <h6> that are used for the creations of headings.


  1. Which of the following are table tags?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Table has different tags such as table, thead, tr, td, etc whereas colospan is an attribute of table.



  1. Choose the correct HTML for width attribute and its value.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Always mention the attribute value in quotes in HTML. It is one of the rule of HTML attributes.


  1. Which of the following prints bold letters in traditional HTML?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: E

    Traditional HTML is case insensitive and thus we can write tag/element name either in lowercase or uppercase or both which will be ignored by browser by default.



  1. Identify the count of mistakes in the following markup.
    <html>
    <head>
    </head>
    <body>
    <li>
    <ul><p>Interview Mania</p></ul>
    </li>
    <hr>
    </body>
    </html>











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    We can write <p></p> tag in <ul></ul> tag as there is no such rule or else limitation. The tags <br> and <hr> are closed by default in browser.