Learn R Programming

shiny (version 0.9.0)

HTML: Mark Characters as HTML

Description

Marks the given text as HTML, which means the tag functions will know not to perform HTML escaping on it.

Usage

HTML(text, ...)

Arguments

text
The text value to mark with HTML
...
Any additional values to be converted to character and concatenated together

Value

  • The same value, but marked as HTML.

Examples

Run this code
el <- div(HTML("I like <u>turtles</u>"))
cat(as.character(el))

Run the code above in your browser using DataLab