|
Posted by robert maas, see http://tinyurl.com/uh3t on 02/17/07 06:58
> From: John Hosking <J...@DELETE.Hosking.name.INVALID>
> If you register at IMDb (I assume you didn't really mean "indb") ...
Oops, yeah that was a typo.
> For *new* pages, or pages you are actively maintaining, go with HTML
> 4.01 strict, unless you have a bona fide reason to use XHTML.
I tried that for the first time today. It was a horrible failure.
Here's the loose Web page that I want to convert:
<http://www.rawbw.com/~rem/HelloPlus/loose.html#pre>
That validates 100% correct with loose DTD.
I made a copy of that, and just changed the top of the file to be
strict, and got 11 (eleven) validation errors. Out of desperation,
I deleted *all* content between the <body> and the </body>, but I'm
still getting 1 (one) validation error:
<http://www.rawbw.com/~rem/HelloPlus/strict.html>
What change is needed to satify the validator when using the strict DTD?
After you tell me how to make the validator happy with no content
whatsoever in the file, next I'll try copying across just one item
at a time from the loose file to the strict file, trying to get it
to validate correctly before copying across the next item. But I'm
not going to even try that until I can get an empty-content file to
validate.
If and when I start copying content across, is there any tutorial
that will suggest ways of making the conversion? Or will you be
available to tell me what I'm doing wrong and how to fix it each
time I copy across just one new item and get another bunch of
validation errors?
Navigation:
[Reply to this message]
|