Example: Ordered and unordered lists
Here are some features of this example to notice:
- The paragraph of text is organized as a division elementAn element used to group elements on different lines. containing a paragraph element followed by an ordered list elementAn element for an ordered list. followed by another paragraph element. This allows us to style the entire unit in a uniform way.
- The list item element with information about heading elements contains another ordered list elementAn element for an ordered list..
Try making either or both of the ordered lists into unordered lists.
Note:
Hints:
- undefined
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
<!DOCTYPE html>
<html lang="en">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
div {
color: red;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX