[Quick Tip] target=”_blank” fix for xHTML1.0 strict


Sep 02

Maybe you faced this or you may face the problem of using target = “_blank” while working with xHtml1.0 strict doctype as the W3 validator won’t validate because target = “_blank” is not support .. so replace target = “_blank” with this javascript code

onclick="return ! window.open(this.href);"

Leave Your Own Comment on This Post

Spam protection by WP Captcha-Free




Copyright © 2012 Banhawi & web design egypt