# Using tags$ each time
tags$div(class = "myclass",
  tags$h3("header"),
  tags$p("text")
)
# Equivalent to above, but using withTags
withTags(
  div(class = "myclass",
    h3("header"),
    p("text")
  )
)Run the code above in your browser using DataLab