Complete the code to create a simple unordered list in HTML.
<ul>
<li>Apples</li>
<li>Bananas</li>
<li>[1]</li>
</ul>The <li> tag defines a list item. Here, 'Oranges' is the correct item to complete the list.
Complete the code to create an ordered list with three steps.
<ol> <li>Step 1: Gather materials</li> <li>[1]</li> <li>Step 3: Finish project</li> </ol>
The second step should be clearly labeled as 'Step 2: Start building' to keep the order and meaning clear.
Fix the error in the nested list code by completing the blank.
<ul>
<li>Fruits
<ul>
<li>Apple</li>
<li>[1]</li>
</ul>
</li>
</ul><li> tags inside the blank.Inside the nested <ul>, each item should be just the text inside <li> tags already present. So only 'Banana' is needed here.
Fill both blanks to create a description list with a term and its description.
<dl> <dt>[1]</dt> <dd>[2]</dd> </dl>
The <dt> tag is for the term, and <dd> is for its description. Here, 'HTML' is the term and 'HyperText Markup Language' is the description.
Fill all three blanks to create a navigation menu with links.
<nav>
<ul>
<li><a href="[1]">Home</a></li>
<li><a href="[2]">About</a></li>
<li><a href="[3]">Contact</a></li>
</ul>
</nav>The href attribute in <a> tags defines the link destination. The correct links are '/index.html' for Home, '/about.html' for About, and '/contact.html' for Contact.