Nav

In HTML, the <nav> tag is a semantic element used to define a section of navigation links within a webpage. It's typically used to wrap around links that navigate to different parts of the website or provide navigation options to users. The <nav> element is part of HTML5 and provides a way to indicate to both browsers and search engines that the enclosed content is related to navigation.

(ChatGPT, February 26, 2024)

Constructors

Link copied to clipboard
constructor(vararg children: TagInterface)
constructor(attributes: Attributes, vararg children: TagInterface)
constructor(attributes: Attributes, classes: ClassesInterface, vararg children: TagInterface)
constructor(classes: ClassesInterface, vararg children: TagInterface)
constructor(classes: ClassesInterface, children: List<TagInterface>)
constructor(attributes: Attributes, classes: ClassesInterface, children: List<TagInterface>)

Functions

Link copied to clipboard
open override fun build(): TagInterface
Link copied to clipboard
fun string(): String