Hey guys why cant i use this instead of <ol><li> tag- go to the discription plz... | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 2

Hey guys why cant i use this instead of <ol><li> tag- go to the discription plz...

<html> <head> <title>first page</title> </head> <body> <p>1.red</br>2.green</br>3.blue </body> </html>

4th Sep 2017, 12:03 PM
sheikhrafe
3 Antworten
+ 5
You can use that but it's better to use tags , because it's more convenient and easier. you can't create bulleted list that way and we cannot nest the lists if we use br for making lists.Its better to practice ol and ul tags for creating lists.
4th Sep 2017, 12:14 PM
un1xx
un1xx - avatar
+ 3
You can use this... but it's better suited and better practice to handle list with related semantical tags ^^
4th Sep 2017, 12:08 PM
visph
visph - avatar
+ 2
there is no problem using that but its advisable to use tags to make your line of code easy for you to read
4th Sep 2017, 7:07 PM
Okoro Ikechukwu Stephen
Okoro Ikechukwu Stephen - avatar