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

Examples

if (FALSE) { htag$a(href = 'hello', "greeting") # <a href="hello">greeting</a> }