Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我遇到了一个问题......我使用网站上的所有赞助商链接 atarget="_blank"这是一个选项,您可以将其选择到 wordpress 的 WYSIWYG 编辑器中(没有 hack)。
target="_blank"
因此,如果此选项可用,为什么它不验证?
如果要验证您必须处于非严格模式,为什么要定义严格模式?
我知道有一个 JavaScript hack.. 但我不知道该怎么做!....
有人解决吗?
经过大量研究...我选择了...而不是使用 target="_blank" 我使用 class="external" 并使用 javascript 将所有类更改为目标空白...它验证并正常工作.. .
该片段似乎验证为 HTML 4.01 Transitional 和 HTML 5。没有 doctype,验证什么都不是,你的是什么?