Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] Re: [Getting OT] PHP Manual not HTML From: Eric Warnke (eric <email protected>)
Date: 01/20/99

After reading this thread I have begun using the validator at w3.org.
It has been amazingly useful. Even after reading all the books, the
valdator still spits back errors at me, mostly typos, but things that
render fine under "most" browsers. Even code that appears to be
completely valid was plain wrong. Things like <center> and "" any non
alphanumeric options.

Correcting the pages is a minor pain now versus going back later to
rehash the whole site when a new browser comes out that is broken
because of not closing <p> or something like that. An ounce of
prevention beats a pound of cure.

I've also been designing all new pages with a HTMLPage class. It
include lots of helper functions like

$html->img("src.jpg"."ALT TEXT");
$html->styleBodyFont("san-serif,Ariel,Helvetica");
$html->noCache()
...

Makes it more difficult for me to produce non-complient code.
Validators are a Good Thing(tm) and I will continue using them. As my
boss puts it "Spell checkers for HTML", and we all know how well geeks
spell on their own.

-Eric

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>