Ordered List in HTML
Ordered List
An ordered list starts with the ol tag, and each list item is defined by the li tag. The list item will be automatically marked by numbers.
Syntax:-
Its syntax is:- < ol >
Explanation:-
Attribute | Value | Description |
---|---|---|
reversed | reversed | Specifies that the list order should be reversed (9,8,7...) |
start | number | Specifies the start value of an ordered list |
type | 1 A a I i |
Specifies the kind of marker to use in the list |
Code Explanation
All Tutorials related to HTML Basics
Headings
Horizontal Lines
Comments
The p Tag
Line Break
Multiple Line Breaks
Text Format
Elements
Attributes
Multiple Attributes
The img Tag
Ordered List
Unordered List
Tables
Table Properties
The a Tag
Block Elements
Inline Elements
HTML Forms
HTML Colors