0

Hi how to write a orderedlist or or uorderedlist horizantale?

Exemple.. 1. Red 2. Green 3. Blue

20th Oct 2019, 6:59 PM
Furqan Ali
Furqan Ali - avatar
4 Respuestas
+ 1
You can change the list elements' display style, making them inline: li { display: inline; }
20th Oct 2019, 7:17 PM
Airree
Airree - avatar
+ 1
After writing the list code in html use css to alter the display like this HTML- <ol> <li>Red</li> <li>Green</li> <li>Blue</li> </ol> CSS- Ol{ Display:inline;
21st Oct 2019, 3:11 AM
P.B
P.B - avatar
0
Thanx alot to all
21st Oct 2019, 6:12 PM
Furqan Ali
Furqan Ali - avatar