View Single Post
  #2 (permalink)  
Old 08-25-2008, 04:29 PM
Joost Diepenmaat
Guest
 
Posts: n/a
Diggs:
Default Re: Anchor with TYPE attribute

Andreas Prilop <prilop4321@trashmail.net> writes:

> Is there any *practical* use of writing, say,
>
> <a href="book.pdf" type="application/pdf">
>
> with a TYPE attribute?


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/
Reply With Quote