W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

[whatwg] [html5] 2.6. Phrase elements

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Thu, 14 Apr 2005 16:22:40 +0200
Message-ID: <425E7CB0.4040604@annevankesteren.nl>
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
Received on Thursday, 14 April 2005 07:22:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC