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

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 point
  • HTMLC_LIST_OPT_BULLET_CIRCLE — use a circle as a bullet point
  • HTMLC_LIST_OPT_BULLET_SQUARE — use a square as a bullet point
  • HTMLC_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

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com