具有TYPE属性的锚点 [英] Anchor with TYPE attribute

查看:69
本文介绍了具有TYPE属性的锚点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何*实际*的写作用途,比如说,


< a href =" book.pdf" type =" application / pdf">

带有TYPE属性的



-

顶部-posting。

Usenet上最令人恼火的事情是什么?

Is there any *practical* use of writing, say,

<a href="book.pdf" type="application/pdf">

with a TYPE attribute?

--
Top-posting.
What''s the most irritating thing on Usenet?

推荐答案

Andreas Prilop< pr ** ****** @trashmail.netwrites:
Andreas Prilop <pr********@trashmail.netwrites:

有没有*实用*写作的使用,比方说,


< a href =" book.pdf" type =" application / pdf">

带有TYPE属性的

Is there any *practical* use of writing, say,

<a href="book.pdf" type="application/pdf">

with a TYPE attribute?



如果你这样做,你可以使用CSS来标记pdf链接,这与其他

链接不同。


a [type = application / pdf] {

before:url(" pdf-image.png");

}

例如。


-

Joost Diepenmaat |博客: http://joost.zeekat.nl/ |工作: http://zeekat.nl/

If you do, you can use CSS to mark up pdf links differently from other
links.

a[type=application/pdf] {
before: url("pdf-image.png");
}

For instance.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/

Andreas Prilop写道:
Andreas Prilop wrote:

是否有任何*实用*写作的使用,比如说,


< a href =" book.pdf" type =" application / pdf">

带有TYPE属性的

Is there any *practical* use of writing, say,

<a href="book.pdf" type="application/pdf">

with a TYPE attribute?



不多,但除了可能用于造型(具有属性

选择器,IE 6不支持),它们可能是用于网站管理

例如查找PDF文件的所有链接。当然这需要软件

关注这些属性。


此外,在Firefox和亲戚身上,如果用户右键单击链接并且

选择属性,他会看到有关媒体类型的信息。


所以不多,真的。


Yucca

Not much, but in addition to potential use in styling (with attribute
selectors, not supported by IE 6), they might be used for site management
e.g. to find all links to PDF files. Of course this requires software that
pays attention to such attributes.

Moreover, on Firefox and relatives, if the user right-clicks on a link and
selects "Properties", he will see information about the media type.

So not much, really.

Yucca


文章

< Pi *************** ***************@s5b004.rrzn.un i-hannover.de>,

Andreas Prilop< pr ******** @ trashmail.netwrote:
In article
<Pi******************************@s5b004.rrzn.un i-hannover.de>,
Andreas Prilop <pr********@trashmail.netwrote:

有没有*实用*写作的使用,比如说,


< a href =" ;整本手册.pdf" type =" application / pdf">

带有TYPE属性的

Is there any *practical* use of writing, say,

<a href="book.pdf" type="application/pdf">

with a TYPE attribute?



是:< http://www.euronet.nl/~tekelenb/WWW/userfriendlierhyperlinks/>。


-

Sander Tekelenburg,< http://www.euronet.nl/%7Etekelenb/>

Yes: <http://www.euronet.nl/~tekelenb/WWW/userfriendlierhyperlinks/>.

--
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/>


这篇关于具有TYPE属性的锚点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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