# HTML Classes Exercise
● Exercise 1
Add the "cites" class to the <div> element.
● Exercise 2
Create a class selector named "special". Add the color property with the value "red" inside "special". At last, add the "special" class to <span> and <p>.
● Exercise 3
Create a class selector named "cities". Add the following styles.
- black background color
- white text color
- 20 pixels padding and margin
Add the class "cities" to the <div> element.
No comments:
Post a Comment