basics.pl -- Simple Small HTML components
- hidden(+Name, +Value)// is det
- Create a hidden input field with given name and value
- form_input(+Label, +Input)// is det
- form_submit(+Label)// is det
- Building blocks for HTML forms. The form itself is a two-column
table of class
form
with labels at the left and inputs at the right. These rules create rows for input and submit. - nc(+Format, +Value)// is det
- nc(+Format, +Value, +Options)// is det
- Numeric cell. The value is formatted using Format and right-aligned in a table cell (td).
- odd_even_row(+Row, -Next, :Content)//
- Create odd/even alternating table rows from a DCG.
- n(+Format, +Value)//
- HTML component to emit a number.
- insert_html_file(+Specification)//
- Insert the content of an HTML file into the current document.
Only the content of the
body
element is included. - form_input(+Label, +Input)// is det
- form_submit(+Label)// is det
- Building blocks for HTML forms. The form itself is a two-column
table of class
form
with labels at the left and inputs at the right. These rules create rows for input and submit. - nc(+Format, +Value)// is det
- nc(+Format, +Value, +Options)// is det
- Numeric cell. The value is formatted using Format and right-aligned in a table cell (td).
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.