[whatwg] [html5] 2.6. Phrase elements

Ian Hickson wrote:
>> a[type=application/pdf]::after{ content:" " url(pdf-icon) }
> 
> That's an example of CSS, not of HTML. But yes, I'm all for more 
> examples in general. Send them in, the best ones will get added to 
> the spec! :-)

True. However, it does show a use case for the attribute.

You could also say something like: "A visual UA might display |<a
href="foo" type="application/pdf">| as: [example rendering]" .... where
[example rendering] is an image of a link with a PDF icon after it.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Thursday, 14 April 2005 07:22:40 UTC