ol ... ⁄ol vs ul ... ⁄ul
ol, ul: differences
- Does the order of the items matter ?
- How items display ?
- What happens if items order is changed? for both ul and ol
Video demonstration ol vs. ul
HTML5 ol vs. ul Tutorial
min | video details |
---|---|
00:08 | the difference between: ul and ol |
00:15 | ul: |
00:15 | in an ul: - items order does not matter |
00:21 | - items do not have an ordinal value and display bullets |
00:26 | - if items order is changed, the meaning of the list remains the same |
00:36 | ol: |
00:36 | in an ol: - items order matters |
00:42 | - items have an ordinal value which is displayed (see the numbers: 1,2,3) |
00:46 | - if items order is changed, the meaning of the list changes too |
00:52 | note: player no2 is now on 3rd position |