© Mark J. Collins 2017

Mark J.  Collins, Pro HTML5 with CSS, JavaScript, and Multimedia, 10.1007/978-1-4842-2463-2_2

2. Cascading Style Sheets

Mark J. Collins

(1)Chesterfield, Virginia, USA

In this chapter I’ll introduce the second leg of HTML development: the cascading style sheet. When creating an HTML document, it’s always a good idea to separate the actual content from the styling rules . There are several reasons for this.

  • Separation of concerns - This is often a good logical separation of responsibilities (and skill sets); a writer is good with words while a graphic designer knows how to apply fonts, colors, and layout to make an article visually appealing. That’s not to say that a single person can’t do both, but you’ll usually find a person ...

Get Pro HTML5 with CSS, JavaScript, and Multimedia: Complete Website Development and Best Practices 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.