.. index:: single: html .. _html/0: .. rst-class:: right **category** ``html`` ======== HTML generation. | **Availability:** | ``logtalk_load(html(loader))`` | **Author:** Paul Brown and Paulo Moura | **Version:** 0:3:0 | **Date:** 2021-03-30 | **Compilation flags:** | ``static`` | **Dependencies:** | (none) | **Remarks:** | (none) | **Inherited public predicates:** | (none) .. contents:: :local: :backlinks: top Public predicates ----------------- .. index:: generate/2 .. _html/0::generate/2: ``generate/2`` ^^^^^^^^^^^^^^ Generates HTML content using the representation specified in the first argument (``stream(Stream)`` or ``file(Path)``) for the term in the second argument. | **Compilation flags:** | ``static`` | **Template:** | ``generate(Sink,Term)`` | **Mode and number of proofs:** | ``generate(+compound,++term)`` - ``one_or_error`` ------------ .. index:: void_element/1 .. _html/0::void_element/1: ``void_element/1`` ^^^^^^^^^^^^^^^^^^ Enumerates, by backtracking, all void elements. | **Compilation flags:** | ``static`` | **Template:** | ``void_element(Element)`` | **Mode and number of proofs:** | ``void_element(?atom)`` - ``zero_or_more`` ------------ .. index:: normal_element/2 .. _html/0::normal_element/2: ``normal_element/2`` ^^^^^^^^^^^^^^^^^^^^ Enumerates, by backtracking, all normal elements. The value of the ``Display`` argument is either ``inline`` or ``block``. | **Compilation flags:** | ``static`` | **Template:** | ``normal_element(Element,Display)`` | **Mode and number of proofs:** | ``normal_element(?atom,?atom)`` - ``zero_or_more`` ------------ Protected predicates -------------------- (none) Private predicates ------------------ .. index:: doctype/1 .. _html/0::doctype/1: ``doctype/1`` ^^^^^^^^^^^^^ Doctype text. | **Compilation flags:** | ``static`` | **Template:** | ``doctype(DocType)`` | **Mode and number of proofs:** | ``doctype(?atom)`` - ``one`` ------------ Operators --------- (none)