HTML builder functions. Similar in purpose to shiny::tags
,
but with auto-complete of attribute names as part of the function call. Also
based upon HTMLElement
at its core (rather than a list, as in shiny
)
htag
is a dreadful portmanteau of html and tag.
The simpler name of tag
was rejected to avoid a name clash with the
shiny
package.
Wrapper functions (around HTMLElement$new()
) to assist in building
HTML documents
1 2 3 4 5 | ## Not run:
htag$a(href = 'hello', "greeting")
# <a href="hello">greeting</a>
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.