0
0
HTMLmarkup~10 mins

Navigation structure basics in HTML - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a navigation bar using the correct HTML element.

HTML
<[1]>
  <a href="#home">Home</a>
  <a href="#about">About</a>
  <a href="#contact">Contact</a>
</[1]>
Drag options to blanks, or click blank then click option'
Anav
Bsection
Cdiv
Dheader
Attempts:
3 left
💡 Hint
Common Mistakes
Using
or
instead of
Not using a semantic element for navigation.
2fill in blank
medium

Complete the code to add a navigation list inside the nav element.

HTML
<nav>
  <ul>[1]</ul>
</nav>
Drag options to blanks, or click blank then click option'
A<p>Home</p><p>About</p><p>Contact</p>
B<li>Home</li><li>About</li><li>Contact</li>
C<div>Home</div><div>About</div><div>Contact</div>
D<a href="#home">Home</a><a href="#about">About</a><a href="#contact">Contact</a>
Attempts:
3 left
💡 Hint