+ 1

what is the code to out roman number in order list (ol)

10th Jul 2017, 8:25 PM
kaleab Berhe
kaleab Berhe - avatar
7 Antworten
+ 8
With Css, use 'list-style-type' set to value 'lower-roman' or 'upper-roman' on <ol> or <ul> element for applying it to all its <li> childs...
10th Jul 2017, 8:41 PM
visph
visph - avatar
+ 5
I was just saying that you could with css ^^
11th Jul 2017, 9:13 AM
visph
visph - avatar
+ 4
@Martin Taylor: The 'type' attribute is totally supported in Html5: that's one of the rarely attribute related to style wich was not deprecated in the Html5 specifications ^^
11th Jul 2017, 5:03 AM
visph
visph - avatar
+ 4
It's quite logical that only <ol> accept 'type' attribute, as it stand for 'ordered list' while <ul> for 'unordered' (in meaning 'numbered')... Anyway, through Css both can be customized with 'list-style-type' (as they are also 'unordered' types as bullets and so on ;)
11th Jul 2017, 9:04 AM
visph
visph - avatar
+ 2
Thanks all!!!!
12th Jul 2017, 11:51 PM
kaleab Berhe
kaleab Berhe - avatar
+ 1
<ol type ="i"> your list </ol>
10th Jul 2017, 8:29 PM
Shannon
Shannon - avatar
+ 1
type attribute. 'i' for lowercase and 'I' for uppercase
10th Jul 2017, 8:31 PM
Andrés04_ve
Andrés04_ve - avatar