- 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>
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.
+ 3
You can use this... but it's better suited and better practice to handle list with related semantical tags ^^
+ 2
there is no problem using that but its advisable to use tags to make your line of code easy for you to read