+ 1

Which method is better to make a navigation bar? <a> tag or <ul> tag?

6th Jan 2023, 7:51 PM
Fabian Roy
Fabian Roy - avatar
6 Answers
- 2
Below is the proper syntax: <nav> <ul> <li> <a></a> </li> </ul> </nav>
7th Jan 2023, 7:40 PM
Sabika Zehra
Sabika Zehra - avatar
+ 1
I prefer <a> inside <nav> which is inside <header>
6th Jan 2023, 11:04 PM
Lamron
Lamron - avatar
0
I like nav>ul>li*>a
6th Jan 2023, 11:36 PM
arturop200
arturop200 - avatar
0
How did you complete html theory in sololearn
11th Sep 2023, 10:50 AM
Rahul Kumar
Rahul Kumar - avatar