Example: Ordered and unordered lists
Here are some features of this example to notice:
- The paragraph of text is organized as a division element containing a paragraph element followed by an ordered list element 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 element.
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