0
order list
why I can't coding like the following? They have the same output but I didn't use order list. <html> <head> <title>first page</title> </head> <body> <p> 1. red</p> <p> 2. blue</p> <p> 3. green</p> </body> </html>
2 ответов
+ 1
You can use this form. but using an ordered list makes it easier to edit with javascript.
+ 1
Every tag has its own meaning. You can use it but you shouldn’t. Screen readers may have difficulties with optimizing it then. And of course you lose few css options (list order style, etc.)