2.3 Comments
<ol> <li>Apples</li> <li>Oranges <ol> <li>Valencia</li> <li>Mandarin</li> </ol> </li> </ol> ___ Valencia
1
<ol> <li>Apples <ol> <li>Red</li> <li>Green</li> </ol> </li> <li>Oranges</li> <li>Bananas</li> </ol> _______ Oranges
2
<ol> <li>Apples</li> <li>Oranges</li> </ol> __ Oranges
2
<p>Roses are <!--purple--> red. Violets are <!--turquoise. <!--green.--> black.-->blue.</p> Valid Invalid
Invalid (A comment cannot be nested in another comment.)
<p>Mary had a <!--soft, little</p>--> lamb. Its fleece was white as snow. Valid Invalid
Invalid (The </p> is in a comment, so <p> is not properly closed. )
type
The <ol> tag's numbering scheme is specified with the ___ attribute.
<p>This sentence does <!--not--> contain a comment</p> Valid Invalid
Valid ( A comment is opened with <!-- and closed with -->. The opening <p> tag is closed properly. )
<p>Bananas grow <!--in bushes.</p>--> on a tree.</p> Valid Invalid
Valid (The browser ignores the first </p> tag, because the tag is in a comment)
unordered list
a collection of items, usually indented and shown using bullets, surrounded by the <ul> opening and closing tags.
HTML comment
a portion of the document that is not displayed by the browser.
ordered list
a sequenced collection of items, usually indented and shown using numbers or letters, surrounded by the <ol> opening and closing tags.
comment
begins with the <!-- character sequence and ends with the --> character sequence.
<ol> <li>Apples <ul> <li>Granny Smith</li> <li>Red Delicious</li> </ul> </li> <li>Oranges</li> </ol> ____ Red Delicious
bullet
Each list item
surrounded by <li> opening and closing tags.