Class Ol
The ol element represents an ordered list of items. It contains li elements that represent individual list items. The list items are typically numbered automatically by the browser, and the numbering can be customized using the type and start attributes.
Examples:
The following convenience methods are provided for constructing instances of this bean:
See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.bean.html5.HtmlElementContainer
child, children, getChild, getChild, getChild, getChildren, setChildrenMethods inherited from class org.apache.juneau.bean.html5.HtmlElement
accesskey, attr, attrUri, class_, contenteditable, deminimize, dir, getAttr, getAttr, getAttrs, hidden, id, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, self, setAttrs, spellcheck, style, tabindex, title, toString, translate
-
Constructor Details
-
Method Details
-
reversed
reversed attribute.Number the list backwards..
This attribute uses deminimized values:
false - Attribute is not addedtrue - Attribute is added as"reversed" - Other values - Passed through as-is
-
start
start attribute.Ordinal value of the first item.
-
type
type attribute.Specifies the type of numbering to use for the ordered list items.
Possible values:
"1" - Decimal numbers (1, 2, 3, ...) - default"a" - Lowercase letters (a, b, c, ...)"A" - Uppercase letters (A, B, C, ...)"i" - Lowercase Roman numerals (i, ii, iii, ...)"I" - Uppercase Roman numerals (I, II, III, ...)
- Parameters:
value- The type of numbering for the ordered list. Can benull to unset the attribute.- Returns:
- This object.
-