<ol> Types in HTML !! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

<ol> Types in HTML !!

Type Description type="1" : The list items will be numbered with numbers (default) type="A" : The list items will be numbered with uppercase letters type="a" : The list items will be numbered with lowercase letters type="I" : The list items will be numbered with uppercase roman numbers Example : <ol type="A"> <li>HTML5</li> <li>CSS3</li> <li>JavaScript</li> <ol>

27th Oct 2017, 7:04 AM
Abderrahim Oukhrib
Abderrahim Oukhrib - avatar
2 Answers
+ 6
The "type" attribute of lists (<ul> and <ol>) is no more supported in Html5. You must use css 'list-style-type' instead... wich allow many more types: https://developer.mozilla.org/fr/docs/Web/CSS/list-style-type
28th Oct 2017, 7:54 AM
visph
visph - avatar
+ 1
Thanks. I didn't know that
27th Oct 2017, 7:42 AM
Αητοιπe
Αητοιπe - avatar