Lesson 4
Creating Basic CSS Rules
Put together selectors, properties, and values in the CSS rule syntax.
Decorate your background with a simple color or an image.
You can center your elements and create columns on a web page.
CSS rules can be saved externally, internally, or inline on a web page.
Child elements inherit styles and browsers resolve style conflicts.
1. Why is including the semicolon at the end of a CSS rule important?
The explanation is here
2. What does a CSS selector do?
Find out here
3. What property do you use to set the color of a web page’s background? ...
Get HTML5 eLearning Kit For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.