======================= Page - Create Documents ======================= This module contains functions for rendering HTML documents. Basic Example ------------- .. tab:: Hy .. code-block:: clj (import hyccup.page [html5 include-css include-js]) (html5 ["p" "hello world"]) ;; "\n

hello world

" (html5 ["head" #* (include-css "/my.css") #* (include-js "/my.js")] ["body" "hello world"]) ;; " ;; ;; ;; ;; ;; ;; hello world ;; " .. tab:: Python .. code-block:: from hyccup.page import html5, include_js, include_css html5(['p', 'hello world']) # '\n

hello world

' html5(['head', *include-css('/my.css'), *include-js('/my.js')], ['body', 'hello world']) # ' # # # # # # hello world # ' API --- **Source code:** `hyccup/page.hy `_ .. hy:automodule:: hyccup.page :members: xhtml, html4, html5, include_css, include_js :member-order: bysource