html5: Creates Valid HTML5 Strings

Timothy Conwell · 2021

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.

Read the paper · More papers on PaperTik