
Last chance! 50% off unlimited learning
Sale ends in
Marks the given text as HTML, which means the tag functions will know not to perform HTML escaping on it.
HTML(text, ..., .noWS = NULL)
The input text
, but marked as HTML.
The text value to mark with HTML
Any additional values to be converted to character and concatenated together
Character vector used to omit some of the whitespace that would
normally be written around this HTML. Valid options include before
,
after
, and outside
(equivalent to before
and
end
).
el <- div(HTML("I like turtles"))
cat(as.character(el))
Run the code above in your browser using DataLab