[pmwiki-users] Xhtml 1.0 Strict

Patrick R. Michaud pmichaud at pobox.com
Fri Jun 27 13:09:28 CDT 2008


On Fri, Jun 27, 2008 at 06:18:17PM +0100, Hans wrote:
> Friday, June 27, 2008, 5:23:36 PM, Patrick R. Michaud wrote:
> 
> > Running it against the W3C validation service generates two
> > errors -- the target= attribute isn't allowed in <a ...>
> > and the align= attribute isn't allowed in <table ...> .
> > Anyone know how to do these in a way that is XHTML 1.0 Strict
> > compatible?
> 
> a brief googling about target=blank versus XHTML strict
> suggests that one needs to employ javascript to open a new window
> when clicking a link, to be XHTML strict complient.
> Many comments suggest not to bother....
> http://www.thefutureoftheweb.com/blog/target-blank-xhtml11

I agree with the "don't bother" sentiment, which is why the
default skin sticks with XHTML 1.0 Transitional.  :-)

> and w3.org CSS3 draft suggests a target= property....
> http://www.w3.org/TR/css3-hyperlinks/#target0

I'll be very glad to see browsers implement the target
property -- that makes far more sense.  But I don't expect it 
to happen soon.

Pm



More information about the pmwiki-users mailing list