html
html(text)
Interpret input text as HTML-formatted text.
For certain pieces of text (like in column labels or table headings) we may want to express them as raw HTML. In fact, with HTML, anything goes so it can be much more than just text. The html()
function will guard the input HTML against escaping, so, your HTML tags will come through as HTML when rendered.
Parameters
text :
str
-
The text that is understood to contain HTML formatting.
Examples
See GT.tab_header()
.