PDA

View Full Version : XHTML link target



jmitch18
Mar 30th, 2007, 09:07 PM
I want to set the target of a link, however the normal method I use does not validate for an XHTML strict document.

Normal method:

<a href="wherever.html" target="blah">Text</a>

The W3 validator says "there is no attribute "target"".

Can anyone tell me how I should do this in an XHTML strict file?

jlhaslip
Mar 30th, 2007, 09:11 PM
Previously discussed: here (http://codingforums.com/showthread.php?t=108930) and here (http://codingforums.com/showthread.php?t=111126).

jmitch18
Mar 30th, 2007, 09:12 PM
yeah just saw it. sorry.

jlhaslip
Mar 30th, 2007, 09:14 PM
Check both of them. Good reading. Follow all the links, too.