What elements are allowed to be embedded inside the <nav> element for html5?

What elements can an HTML 5 element contain <nav>?

+3
source share
2 answers

The nav element is a new semantic element. It is intended for navigation or table of contents. Each nav may include other HTML elements, in particular link lists. The nav element is for link blocks, not for individual links mentioned in text content, or for links in the footer area of ​​a section or article.

It replaces the concept of an element with a semantic element, specifically designated as a navigation area.

HTML5, nav. , . , , - , .

, html nav: h1, ul, li, a

0

HTML 5 <nav> :

nav ,      : .      nav,      nav. ,          , , nav     .

html5doctor.com .

0

Source: https://habr.com/ru/post/1793435/


All Articles