html5: Creates Valid HTML5 Strings

Generates valid HTML tag strings for HTML5 elements documented by Mozilla. Attributes are passed as named lists, with names being the attribute name and values being the attribute value. Attribute values are automatically double-quoted. To declare a DOCTYPE, wrap html() with function doctype(). Mozilla's documentation for HTML5 is available here: <>. Elements marked as obsolete are not included.

Getting started

Package details

AuthorTimothy Conwell
MaintainerTimothy Conwell <>
LicenseGPL (>= 2)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the html5 package in your browser

Any scripts or data that you put into this service are public.

html5 documentation built on Oct. 18, 2022, 1:05 a.m.