Html_Element_List_Create()
Abstract
Creates an element that contains other elements in the form of a list.
Syntax
Html_Element_List_Create (elems_lptr, title, options)
| Argument | Type | Description |
|---|---|---|
elems_lptr |
PrgT_List * |
a linked list of elements to put into the list |
title |
const char * |
the title of the list |
options |
int |
the options for the list (see Details) |
Return Type
HtmlT_Element *
the Element that contains the list
Header
html.h
Details
This function creates an HtmlT_Element that represents a bulleted list in HTML code. The available options for creating lists are:
HTMLC_LIST_OPT_BULLET_DISC— use a disc as a bullet pointHTMLC_LIST_OPT_BULLET_CIRCLE— use a circle as a bullet pointHTMLC_LIST_OPT_BULLET_SQUARE— use a square as a bullet pointHTMLC_LIST_OPT_ORDERED— create an ordered list (causes the above bullet options to be ignored)HTMLC_LIST_OPT_LINEBREAKS— add line breaks before each next bullet point, with the exception of the first bullet point