Daily Archives: May 14, 2008

Web Design Best Practices, DOCTYPE

Doctypes
By using a certain DOCTYPE (strict or transitional) you claim to have correctly implemented a certain (X)HTML flavor:

< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

When you declare a DOCTYPE, validators take you at your word. When you validate your pages, they check your code against the syntax that you claim to follow. If the [...]

Posted in Web Design Best Practices | Leave a comment

Web Design Best Practices, XHTML

Recode for XHTML

The best way to start coding a new website is to make a rough sketch on paper. Draw the content blocks, make short notes on the XHTML and CSS you’ll need and try to anticipate the problems you’ll encounter. It’s highly unlikely that you’ll solve all, or even most, problems by this rough [...]

Posted in Web Design Best Practices | Leave a comment

Web Design Best Practices, part 1

The Safari development team at Apple has made a dedicated effort to implement Web standards. This means that the easiest way to ensure optimal rendering of your pages in Safari is by following the standards. Doing so will also guarantee optimal rendering in Mozilla, Opera and Internet Explorer for Macintosh. Of course, each of these [...]

Posted in Web Design Best Practices | Leave a comment