target="new" not xhtml (strict) valid - what to do?

liunx

Guest
How to do I get a link to open up in a new window with an xhtml strict page?The same way that you do in HTML 4.01 Strict:<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.w3.org/" onclick="window.open (this.href,'child'); return false">W3C</a>hmmm because i'm working on a government site, i'm trying to avoid using javascript because some users may have it turned off. any other options?from what i've read so far i guess i there's no other way...Opening a new window is a behaviour and not content.

HTML for content
Stylesheet for appearance
Javascript for behaviour.Yep I've tried looking up different ways to do it with html but there isn't a way if you want it to remain validated. You gotta go with javascript.
 
Back
Top