Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

a) ul
b) li
c) nav
d) both ul and li

Answer: d
Explanation: Conventionally, many web developers have use <ul></ul> and <li></li> 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.

Join The Discussion