Description Usage Arguments Value Examples
Build a web document with the appropriate doctype
1 |
doctype |
a doctype header, e.g. one of the elements of the list doctype |
... |
the contents of the webpage, typically a call to html_head() and a call to html_body() |
an object of class Samatha.Webdoc which is a character vector of length 1
1 2 3 4 | {
elements = list("apples", "oranges", "bananas")
webdoc("html5",html_head("My first page"),html_body("Hello world", unordered.list(elements)))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.