HTML Standard: <ul>, <ol>, <li> tags

<ul>, <ol>, <li> tags

Inserts a list.

Attributes <ul>
Attribute Description
class One or more classes.
This attribute used with customListStyles and wordStyles options allows applying a custom numbering style and a custom paragraph style.
id Id.
style Inline styles. Styles can also be applied using style tags.
Attributes <ol>
Attribute Description
class One or more classes.
id Id.
start Start value for the list items.
style Inline styles. Styles can also be applied using style tags.
type Type of marker of the list items.
Attributes <li>
Attribute Description
class One or more classes.
id Id.
style Inline styles. Styles can also be applied using style tags.
Styles <ol>
Style Description
list-style-type
  • decimal
  • lower-alpha
  • lower-latin
  • lower-roman
  • none
  • upper-alpha
  • upper-latin
  • upper-roman
Styles

Using createListStyle and HTML, custom list styles can be applied to use more styles such as changing level list types or add images as bullets.

paragraph styles can be applied to list contents.

HTML Extended (Premium licenses)
Attribute Description
data-depth Forces a list level to the li tag.
data-listppr Applies a custom pPr style.
data-listrpr Applies a custom rPr style.
data-style Applies a custom paragraph style.
Code samples

Example #1

The resulting Word document looks like:

Example #2

The resulting Word document looks like:

Example #3

The resulting Word document looks like: