-
Which of the following options follows content model in HTML?
i.<ul>
<p>First </p>
</ul>
ii.<ul>
<li>Second </li>
</ul>
-
- ii
- i
- Neither i nor ii
- i and ii both
- 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.