The benefits of Web Standards to your visitors, your clients and you!
7. Why use CSS to separate content from presentation?
The aim for web developers is to remove all presentation from the html code, leaving it clean and semantically correct.
- More accessible to a wider variety of devices
- Easier to make site-wide changes - one css file rather than all pages
- Smaller files/ faster download - less code on the page
- Less code on the page - easier to code
- Allows users to customise to their own needs - style switchers
- More control over code - can deliver code in preferred order for screen readers
Presentation on all HTML pages
Presentation in separater CSS file
Separater CSS files for modern browsers, printers and older browsers