Functions for setting up HTML pages.
Functions for setting up HTML pages.
(html4 & contents)
Create a HTML 4 document with the supplied contents. The first argument may be an optional attribute map.
Create a HTML 4 document with the supplied contents. The first argument may be an optional attribute map.
(html5 options & contents)
Create a HTML5 document with the supplied contents.
Create a HTML5 document with the supplied contents.
(include-css & styles)
Include a list of external stylesheet files.
Include a list of external stylesheet files.
(include-js & scripts)
Include a list of external javascript files.
Include a list of external javascript files.
(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).
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 attr-map? lang & contents)
Create an XHTML element for the specified language.
Create an XHTML element for the specified language.
(xml-declaration encoding)
Create a standard XML declaration for the following encoding.
Create a standard XML declaration for the following encoding.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close