slide 38
Copyright © 2005 W3C (MIT, ERCIM, Keio)
The basics
Separating content & presentation
Go to previous slide Go to next slide Go to the first slide Go to the slide index Go to the PDF version
Slide 38 of 76
Each of these windows shows EXACTLY the same HTML file. The changes made to the CSS file produced three very different presentations of that basic content.
This is particularly useful for changing the presentational aspects of a site or group of pages. You typically only need to edit a single CSS file, rather than editing all the code of each HTML file.
This can also be beneficial for localization, since typographic approaches, colors, etc, may need to be changed for different locales. Making such changes in the CSS is much easier than adapting the HTML.