HTML and CSS Reference
In-Depth Information
A ppendix C
CSS basics
f you've just read appendix B, you're probably wondering how those
rather dull textual examples end up looking like the beautiful web pages
you see every day. The answer isn't some secret extra markup you didn't
learn about yet, but Cascading Style Sheets (CSS) . This appendix will
introduce the main features of CSS , including
The basic syntax of CSS
Using CSS selectors to apply styles only to certain elements
The most common properties and values
Using CSS for layout
Rules, selectors, properties, and values
A CSS style sheet is made up of rules . Here are three example CSS rules.
467
Search WWH ::




Custom Search