Michael W. Ryan on Thu, 27 Apr 2000 13:40:39 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] html conformance (3.2)


On Thu, 27 Apr 2000, Darxus wrote:

> "HTML 2.0 is widely supported by browsers..."
> "HTML 3.2 is well supported by most browsers..."
> - http://www.htmlhelp.org/tools/validator/doctype.html

That doesn't say anything about 4.0, which is currently supported by all
browsers that have bothered to keep up to date (I'm sorry, but I don't
consider Lynx to have made an attempt to stay up to date).  Oh, you might
want to note the HTML version that the page you're referencing is
following.

> Basically, because the html I've used conformed to those versions already,
> except for a few minor technical errors on my part.  If I ever feel the
> desire to use something that doesn't conform to 3.2 or 2.0, I'll use it,
> and attempt to conform to a newer standard.  Till then, I'm rather proud
> to have created such un-cluttered html that it conforms to ancient
> standards and displays relatively well in text based browsers :)

Uh huh.  And the purpose of HTML 4.0, and CSS, is to make it even more
uncluttered.  Also, the term for the standards you're following isn't
"ancient" but "out-dated".

Incidentally, if you have good HTML 3.2 pages, there is probably very
little that is necessary to conform them to 4.0.  

> That's right, 4 of the 8 pages (everything w/out tables) conforms all the
> way back to 2.0, and has its doc type set to that :)

There's nothing to be gained from having a document's doctype set to 2.0.

> At some point I'll probably try to get everything to conform to 4.0 strict
> as well as 2.0 & 3.2, but at my 1st attemt, it looks like it'll be
> obnoxious:
> 
> http://plug.nothinbut.net/talks.html 
> 
> Line 11, column 0: 
>   Past:
>   ^
> Error: character data is not allowed here
> 
> 
> It would be very nice if these things would tell you why...

That has nothing to do with the doctype, but the terseness of the
validating software.

The reason is that all text, in an HTML document, is supposed to be in
some sort of block.  A <div>, a <p>, etc.  Remember, HTML defines
structure.  What you did by playcing "Past:" directly in the <body> is you
have it without any structure or meaning.

Michael W. Ryan, MCP, MCT     | OTAKON 2000
mryan@netaxs.com              | Convention of Otaku Generation
http://www.netaxs.com/~mryan/ | http://www.otakon.com/

No, I don't hear voices in my head;
I'm the one that tells the voices in your head what to say.


______________________________________________________________________
Philadelphia Linux Users Group       -       http://plug.nothinbut.net
Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce
General Discussion   -   http://lists.nothinbut.net/mail/listinfo/plug