A nav tag for creating HTML navigations

nav(class, id = NULL, role = NULL, ...)

Arguments

class

The class of the navigation container

id

The identification of the navigation container

role

The character role of the container on the page

...

The content of the container

Value

HTML content of a container with type nav

Examples

nav('sample','id1','sample','some content')
#> <nav class='sample' id='id1' role='sample'>some content</nav>