Name

VALUE — NN all IE all HTML 3.2

Synopsis

VALUE=”number"

Optional

The VALUE attribute applies only when the LI element is nested inside an OL element. You can manually set the number used as a starting point for the sequencing of ordered list items. This can come in handy when you need to break up an OL element with some running text that is not part of the list.

Even though the value assigned to this attribute is a number, it does not affect the TYPE setting. For example, setting VALUE to 3 when TYPE is A means that the sequence starts from that LI element with the letter C.

Example

<LI VALUE=3>Insert Tab C into Slot M. Tighten with a wingnut.

Value

Any positive integer.

Default

1

Object Model Reference

IE

[window.]document.all.elementID.value

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.