Chapter 3. CSS3 Styling
Styling in HTML is performed using cascading style sheets (CSS). Modern web sites have moved on from using inline styling in HTML pages to using CSS. They appreciate the separation that the W3C has introduced between the text content and its presentation, including layout, colors, and fonts. This separation enables multiple pages to share formatting, and reduces complexity and repetition in the structural content. It can also help improve accessibility by allowing a choice in styling—in particular for rendering on different devices.
We assume that you have a basic understanding of CSS. You should in particular understand that a style sheet consists of a sequence of rules, which specify the element(s) to which they apply ...
Get The Definitive Guide to HTML5 Video 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.