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>

5th Apr 2018, 7:56 PM
Yiwen Zhao
Yiwen Zhao  - avatar
2 ответов
+ 1
You can use this form. but using an ordered list makes it easier to edit with javascript.
5th Apr 2018, 8:04 PM
Tomer Sim
Tomer Sim - avatar
+ 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.)
5th Apr 2018, 8:09 PM
Sebastian Szczepański
Sebastian Szczepański - avatar