hiccup.element

Functions for creating generic HTML elements.

image

(image attr-map? src)(image attr-map? src alt)

Create an image element.

javascript-tag

(javascript-tag script)

Wrap the supplied javascript up in script tags and a CDATA section.

mail-to

(mail-to attr-map? e-mail & content)

Wraps some content in a HTML hyperlink with the supplied e-mail address. If no content provided use the e-mail address as content.

ordered-list

(ordered-list attr-map? coll)

Wrap a collection in an ordered list.

unordered-list

(unordered-list attr-map? coll)

Wrap a collection in an unordered list.