Home » HTML » HTML Basic » Question
  1. Which of the following options follows content model in HTML?
    i.<ul>
    <p>First </p>
    </ul>
    ii.<ul>
    <li>Second </li>
    </ul>
    1. ii
    2. i
    3. Neither i nor ii
    4. i and ii both
    5. None of these
Correct Option: D

Content model specifies that certain elements are supposed to occur only within other elements. The <ul> tag which is for unordered list should contain <li> tags which are for list specification. The <p> tag is used for paragraph in HTML.



Your comments will be displayed only after manual approval.