[thelist] Validation questions (was: Is it me or is it Netscape?)

Erika Meyer erika at seastorm.com
Sun Apr 9 19:47:58 2000


Joel, maybe someone can give you a better answer tomorrow, but I'll 
take a wild stab.

First, to let you know, I checked your page on iCab, and I got the 
"neutral" face, which isn't bad (99.9999% of websites get the frowny 
face).  iCab complained only about your font tags.

If it were me, this is what _I_ would do.

First Error: <p>&nbsp;</p> is just a spacer. I'd throw in a couple of 
<BR> tags instead.  Maybe that will help.

Other Errors: take out those "font" tags.  If I were a browser or 
validator, I would be confused by the font tags especially since they 
are around H1 & H2 tags.  Put all your font declarations in CSS.

Maybe fixing these two dings will help the validator give you true validation.

We all need a little validation.

Erika




>
>When I run the HTML through the validator at
>http://validator.w3.org/ I get the results below, which I don't
>understand. I've looked through my HTML/DHTML books and don't
>find the problem. Anybody have some ideas where to look on these?
>
>-----partial results------
>Below are the results of attempting to parse this document with
>an SGML parser.
>
>Line 48, column 2:
>   <p>&nbsp;</p>
>     ^
>Error: document type does not allow element "P" here; missing one
>of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
>
>Line 49, column 19:
>   <div align="center">
>                      ^
>Error: document type does not allow element "DIV" here; missing
>one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
>
>Line 52, column 3:
>   <h1>Never be stranded again!</h1>
>      ^
>Error: document type does not allow element "H1" here; missing
>one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
>-----end partial results--------
>
>Thanks!
>
>Joel
>CityCenter Co.
>Web Development & Marketing
>mailto:joelm@citycent.com
>http://www.citycent.com
>

erika@seastorm.com
http://www.seastorm.com