TARGET =" _top"在严格的HTML? [英] TARGET="_top" in strict HTML ?

查看:70
本文介绍了TARGET =" _top"在严格的HTML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我在< A>内指定了一个TARGET属性。严格的XHTML下不允许的标签。

如何更改行以满足严格HTML的要求?


< A HREF =" http://www.targetedomain.com/" TARGET =" _top"> ...< / A>


Arty

Currently I specified a TARGET attribute inside an <A> tag which is not allowed under strict XHTML.
How do I change the line to meet the requirements of strict HTML?

<A HREF="http://www.targetedomain.com/" TARGET="_top">...</A>

Arty

推荐答案

Arthur Connor写道:
Arthur Connor wrote:
目前我在< A>内指定了一个TARGET属性。严格的XHTML下不允许使用的标签。
如何更改行以满足严格HTML的要求?

< A HREF =" http://www.targetedomain。 COM /" TARGET =" _top"> ...< / A>
Currently I specified a TARGET attribute inside an <A> tag which is not allowed under strict XHTML.
How do I change the line to meet the requirements of strict HTML?

<A HREF="http://www.targetedomain.com/" TARGET="_top">...</A>




< a href =" http://www.targetedomain.com/" ;> ...< / a>

-

Anne van Kesteren

< http://www.annevankesteren。 nl />



<a href="http://www.targetedomain.com/">...</a>
--
Anne van Kesteren
<http://www.annevankesteren.nl/>


Arthur Connor写道:
Arthur Connor wrote:
目前我在< A>内指定了一个TARGET属性。严格的XHTML下不允许使用的标记。如何更改行以满足严格HTML的要求?

< A HREF =" http://www.targetedomain.com/" TARGET =" _top"> ...< / A>
Currently I specified a TARGET attribute inside an <A> tag which is not
allowed under strict XHTML. How do I change the line to meet the
requirements of strict HTML?

<A HREF="http://www.targetedomain.com/" TARGET="_top">...</A>




如果您正在使用框架,请为加载的文档使用过渡文档类型

进入框架(或使用不可靠的JavaScript)。


....并更正标签和属性的大小写。 < a href,而不是< A HREF。


-

David Dorward< http://dorward.me.uk/>



If you are using frames, use a transitional doctype for the documents loaded
into the frames (or resort to unreliable JavaScript).

.... and correct the case of your tags and attributes. <a href, not <A HREF.

--
David Dorward <http://dorward.me.uk/>


请修改您的新闻阅读器,将您撰写的邮件中的行换行为65

个字符左右。谢谢。


Arthur Connor写道:
Please fix your newsreader to wrap lines in messages you compose to 65
characters or so. Thank you.

Arthur Connor wrote:
目前我在< A>内指定了一个TARGET属性。标签


为什么这样做?

在严格的XHTML下是不允许的。


正确。您可以将dtd更改为过渡版,以便

适应您使用的标记。

如何更改行以满足严格HTML的要求?


删除目标属性。

< A HREF =" http://www.targetedomain.com/" TARGET =" _top"> ...< / A>
Currently I specified a TARGET attribute inside an <A> tag
Why do you do this?
which is not allowed under strict XHTML.
Correct. You could change the dtd to a transitional one, to
accomodate the markup you use.
How do I change the line to meet the requirements of strict HTML?
Remove the target attribute.
<A HREF="http://www.targetedomain.com/" TARGET="_top">...</A>




< A HREF =" http://www.targetedomain.com/" ;> ...< / A>


-

Brian

按照我的地址中的说明发送电子邮件我



<A HREF="http://www.targetedomain.com/">...</A>

--
Brian
follow the directions in my address to email me


这篇关于TARGET =&QUOT; _top&QUOT;在严格的HTML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆