Welcome ðŸŽ‰

logo

ReactLMS

Search
Light Mode
Contact Us

1 min to read

Contact us

No results for your search.
Sorry, an unexpected error occurred

Concept


The <nav> tag is used to mark an element containing navigation links on a website. This is an important part to structure and organize the links on your website.


Usage


<nav>
    <ul>
        <li><a href="/">Trang chủ</a></li>
        <li><a href="/about">Giới thiệu</a></li>
        <li><a href="/products">Sản phẩm</a></li>
        <li><a href="/contact">Liên hệ</a></li>
    </ul>
</nav>






In the example above, we use the <nav> tag to wrap an unordered list (<ul>) containing navigation items (<li>). Each navigation item is represented by a link (<a>) with the href attribute specifying the path of the corresponding page.


Read more
On This Page