2. Philosophy of Web Page Design
2. Philosophy of Web Page Design
- Write your HTML for the logical structure of the document's content.
Use CSS for presentation.
- It's easier to maintain a single CSS file than presentation code
scattered over many HTML files.
- Alternate CSS rules can be written for different situations,
eliminating the need to write an alternate
version of the entire document.
E.g., use CSS rules for printing instead of creating a "print-friendly"
version of the HTML.
- The document will still make sense in text browsers, browsers
for users with disabilities, and other non-GUI browsers.
- Accept the fact that it's not going to look the exactly same on all
browsers.
Ken Keys, CAIDA, 2006-12-01