html-tags {tabler}R Documentation

HTML Tag Builder Functions

Description

Convenience functions for building common HTML elements. Each function accepts child content and named attributes as ... arguments and returns a tabler.tag object that can be nested, rendered with as.character(), or passed to any tabler layout function.

Usage

div(...)

span(...)

p(...)

a(...)

img(...)

ul(...)

li(...)

aside(...)

h1(...)

h2(...)

h3(...)

h4(...)

h5(...)

h6(...)

hr(...)

br(...)

Arguments

... Child elements (strings, other tags) and/or named HTML attributes (e.g. class = "foo", href = "#").

Value

A tabler.tag object.

See Also

tags for the full HTML5 tag namespace.

Loading...