Date First Published: 7th February 2023
Topic: Web Design & Development
Subtopic: Web Development
Article Type: Computer Terms & Definitions
Difficulty: MediumDifficulty Level: 5/10
Learn more about what the HTML <ol> tag is in this article.
In HTML, the <ol> tag is used to define an ordered list, which groups items that have a numerical or alphabetical ordering. By default, the content of the <ol> tag is numbered. This tag is supported by all major web browsers.
To create an unordered (bulleted) list, use the <ul> tag.
Examples of the <ol> tag with the output can be seen below:
The <li> tags are used to define list items.
Attribute | Description |
---|---|
compact | Reduces indents and spacing between lines. Not supported in HTML5. |
reversed | Indicates that the items should go in descending order. |
start | Sets the start value of an ordered list. |
type | Sets the type of list marker to use. |
If so, it is important that you tell me as soon as possible on this page.
Network Services Network Setups Network Standards Network Hardware Network Identifiers Network Software Internet Protocols Internet Organisations Data Transmission Technologies Web Development Web Design Web Advertising Web Applications Web Organisations Web Technologies Web Services SEO Threats To Systems, Data & Information Security Mechanisms & Technologies Computer Hardware Computer Software Ethics & Sustainability Legislation & User Data Protection