makeHTMLTag(tag, ...)
p <- makeHTMLTag("p")
, we can generate a function
that interprets all named arguments as attributes, and
all unnamed arguments as 'data'. This is primarily used
behind the scenes to generate all the HTML tagging
functions in html
.
Note that this function assumes the presence of the
html
environment, which is where HTML function
declarations live.html