3. CSS syntax

3. CSS syntax

First, use a DOCTYPE in your HTML. If you don't, most browsers revert to a non-standard backward-compatibility "quirks" mode.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    
Styles can be specified in 3 places HTML: Style sheet files can also import other style sheet files (but only before normal rules):
    @import "another.css";
    
Ken Keys, CAIDA, 2006-12-01