Vidyalelo
HTML · Q16

HTML5

Programming · HTML · question 16

Q16

Which tag is used to encapsulate navigation and then style the elements appropriately as menu items?

A.
ul
B.
li
C.
nav
D.
both a and b
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
Conventionally, many Web developers have used and tags to encapsulate navigation and then styled the elements appropriately as menu items. This seems to introduce quite a bit of ambiguity in markup because it may be difficult to determine the difference between a list that has links in it and a list that is simply navigation.