Coding Guidelines
write clean, valid, semantic xHTML code
- separate content (HTML) from presentation (CSS) from behaviour (Javascript)
- content must survive CSS off, javascript off, images off
- convert all special characters to proper HTML character or numeric entities
use CSS for page presentation
- only use tables for tabular data
- use image replacement techniques
- CSS rollovers > javascript rollovers
use Flash as a last resort
- only use Flash for specific elements when there isn’t a HTML/CSS/Javascript alternative
- use Swfobjects to embed flash
validate, validate, validate
- all xHTML content must validate
- all CSS must validate