Jason on Fri, 11 Oct 2002 15:30:05 -0400


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

Re: [PLUG] PLUG Website Maintenence


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 11 October 2002 08H:30, Paul wrote:
> >A nice introduction is at
> >
> >http://hotwired.lycos.com/webmonkey/00/50/index2a.html
>
> Good article.
>
> I have a page that *almost* validates between HTML 4.01 Transitional and
> XHTML 1.0 Transitional.  The problem is that HTML *prohibits* end tags
> for "link" and "meta" while XHMTL *requires* end tags for everything.

My understanding was that you either need an end tag or end within the tag. 
For example, both of the following are valid:

<hr></hr>
<hr/>

XHTML is probably still one of the biggest current non-standards where actual 
browser implementations are concerned. Haven't done any XHTML validation, 
though.

Sometimes you can insert an optional empty attribute to get arround really 
stubborn browsers (maybe this will get through the XHTML validator as well, 
but probably not). Off the top of my head, I don't recall all of the possible 
attribute values for link and meta and whether any are optional, so this may 
not be very helpful. I don't do that much actual HTML.

>
> I like the rules that XHTML enforces while remaining compatible with
> HTML.  IE-only pages that are ill formed will fail miserably!  In the
> future I think I will start by validating against XHTML then do a final
> check against the HTML validator.  Any compromise will be in favor of HTML.

Interesting... This sounds prudent for the near future. It may get to be a 
problem when XHTML compliance is more important than just a nice-to-have.

>
> I always fail the "strict" test.  8^)
It's not personal, just your documents. And they are more easily fixed! -just 
kidding.

Cheers,
Jason Nocks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9px8f3CryLfCgqRkRArm4AJ96wLUgkuR2DVuL0hIF7SBsGZAGZQCfRPR9
8cJtuYtiZj5gR1SeSScAu+s=
=x/Fm
-----END PGP SIGNATURE-----

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug