Tag: xhtml

HTML5 and target=”_blank”

I posted a jQuery solution to the XHTML Strict Target=”_blank” problem a while back. Well I finally had some free time to start delving deep into HTML5. Low and behold the W3C has removed the deprecated status from the “_blank” value for the target attribute. What does that mean?

That means that target=”_blank” is 100% valid in HTML5!

Handling New Windows in Strict DTDs

Kevin Yank on SitePoint has an article named “New-Window Links in a Standards-Compliant World” which explains a great javascript alternative to help with the Strict DTDs’ lack of the anchor’s target attribute.