[pmwiki-users] Xhtml 1.0 Strict

Hans design5 at softflow.co.uk
Fri Jun 27 12:18:17 CDT 2008

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....

and w3.org CSS3 draft suggests a target= property....

> (The align= attribute issue actually comes from the page markup, 
> not PmWiki, so it'd be something the markup would have to change
> as opposed to the PmWiki code.)

align=center should be dropped in favour of style='text-align:center;'

>>center<< does a nice job in being converted to
<div style='text-align:center;'>


More information about the pmwiki-users mailing list