Lists | Ordered Lists | Type Attributes | Unordered Lists | Description Lists
In HTML you have an option to create lists with the help of the HTML Lists tag.
In HTML we have three types of lists.
In the HTML Ordered lists, by default, all the items in the list are marked with numbers and it also called a numbered list in HTML.
The ordered list starts with <ol> tag and the list items start with <li> tag.
You can use the type attribute for the <ol> tag to specify the type of the list items.
Type | Description |
---|---|
Type "1" | The list items will be numbered with numbers (default) |
Type "I" | The list items are numbered with upper case roman numbers. |
Type "i" | The list items are numbered with lower case roman numbers. |
Type "A" | The list items are numbered with upper case letters. |
Type "a" | The list items are numbered with lower case letters. |
Following is an example where we used <ol type="I">
In the HTML Unordered lists, all the items in the list are marked with bullets.
The Unordered list starts with <ul> tag and the list items start with <li> tag.
HTML Description List is also known as Definition List and HTML definition list contains following three tags
Subscribe for more videos on our Youtube channel. if you like our tutorial please Like and Subscribe to our Facebook and Youtube.
0 Comments
To Learn:
Tutorials in a simple Way.
Excel with downloadable samples.
HTML with sample website code.
PowerPoint presentations.
MS Word for offical use.