% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tags.R
\name{doctype}
\alias{doctype}
\title{Render the \verb{<!DOCTYPE html>} declaration}
\usage{
doctype()
}
\value{
A \code{"hypertext.raw"} object containing \verb{<!DOCTYPE html>}.
}
\description{
Convenience wrapper around \code{\link[=raw_html]{raw_html()}} that returns the
HTML5 document-type declaration. Useful when building a full page.
}
\examples{
page <- tag_list(
  doctype(),
  tags$html(
    tags$head(tags$title("Home")),
    tags$body(tags$h1("Welcome"))
  )
)
render(page)
}
