开发者

wordpress target dont validate

开发者 https://www.devze.com 2022-12-31 18:27 出处:网络
I get into a problem... I use for all the sponsor links on the site a target=\"_blank\" which is an option that you can select into the WYSIWYG editor of wordpr开发者_JAVA百科ess (no hack).

I get into a problem... I use for all the sponsor links on the site a target="_blank" which is an option that you can select into the WYSIWYG editor of wordpr开发者_JAVA百科ess (no hack).

So if this option IS availible, why doesn't it validate?

And if to validate you have to be in non strict mode why the strict mode is defined?

I know there is a JavaScript hack.. but I don't what to go that way!....

Solution anybody?


That fragment seems to validate as HTML 4.01 Transitional and HTML 5. Validation is nothing without a doctype, what's yours?


After much research... i go with the have... instead of using target="_blank" i use a class="external" and use javascript to change all class to target blank... it validate and work fine...

0

精彩评论

暂无评论...
验证码 换一张
取 消