Skip to main content

html

macro

hiccup.core/html

(html [options & content])
Render Clojure data structures to a string of HTML. Strings are **not** automatically escaped, but must be manually escaped with the [[h]] function. A literal option map may be specified as the first argument. It accepts the following keys: `:mode` : One of `:html`, `:xhtml`, `:xml` or `:sgml` (defaults to `:xhtml`). Controls how tags are rendered.

No examples yet. Be the first to add one!

See Also