Learn R Programming

htmltools (version 0.5.9)

tagList: Create a list of tags

Description

Create a list() of tags with methods for print(), as.character(), etc.

Usage

tagList(...)

Arguments

...

A collection of tags.

Examples

Run this code
tagList(
  h1("Title"),
  h2("Header text", style = "color: red;"),
  p("Text here")
)

Run the code above in your browser using DataLab