hiccup.page
Functions for setting up HTML pages.
html4
macro
(html4 & contents)
Create a HTML 4 document with the supplied contents. The first argument may be an optional attribute map.
xhtml
macro
(xhtml options & contents)
Create a XHTML 1.0 strict document with the supplied contents. The first argument may be an optional attribute map. The following attributes are treated specially:
:lang
- The language of the document
:encoding
- The character encoding of the document (defaults to UTF-8).
xhtml-tag
(xhtml-tag attr-map? lang & contents)
Create an XHTML element for the specified language.
xml-declaration
(xml-declaration encoding)
Create a standard XML declaration for the following encoding.