asp.net.ph

Skip Navigation Links

TYPE Attribute | type Property

Language References


Specifies the type of list-item marker in an OL element.

Syntax


Inline <element TYPE = '1' | 'a' | 'A' | 'i' | 'I'...>
Script object.type = sType ]

Possible Values


1 Associate numbers with each item in an ordered list.
a Associate lowercase letters with each item in an ordered list.
A Associate uppercase letters with each item in an ordered list.
i Associate Roman numerals with each item in an ordered list.
I Associate Roman numerals with each item in an ordered list.
disc Associate a solid disc with each item in an unordered list.
circle Associate a hollow circle with each item in an unordered list.
square Associate a solid square with each item in an unordered list.

The property is read/write with a default value of 1 for an ordered list and a default value of disc for an unordered list.

Example

The following example sets the line item markers to lowercase Roman numerals.

<OL type="i">
  <li>
  <li>First Item
  <li>
  <li>Second Item
  <li>
  <li>Third Item
</OL>

 Show me 

Applies To

LI, OL, UL



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note