| doctype | R Documentation |
<!DOCTYPE html> declarationConvenience wrapper around raw_html() that returns the
HTML5 document-type declaration. Useful when building a full page.
doctype()
A "hypertext.raw" object containing <!DOCTYPE html>.
page <- tag_list(
doctype(),
tags$html(
tags$head(tags$title("Home")),
tags$body(tags$h1("Welcome"))
)
)
render(page)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.