+ 1
Which method is better to make a navigation bar? <a> tag or <ul> tag?
6 Respuestas
- 2
Below is the proper syntax:
<nav>
<ul>
<li>
<a></a>
</li>
</ul>
</nav>
+ 1
I prefer <a> inside <nav> which is inside <header>
+ 1
Here are 4 different methods to create a nav bar.
https://code.sololearn.com/WwLEV0XhbFa7/?ref=app
https://code.sololearn.com/WZLpSZ9exAE3/?ref=app
https://code.sololearn.com/WIaMlMhWVPIl/?ref=app
https://code.sololearn.com/WyqlRt7m9dm0/?ref=app
0
I like nav>ul>li*>a
0
How did you complete html theory in sololearn