[whatwg] a rel=attachment

On 7/14/11, Karl Dubost <karld at opera.com> wrote:
> what about adding
>
> <a href="foo.pdf" target="_download">Save a Tree, Eat a beaver</a>
>
This seems like the best solution to me. A filename hint has two use
cases: a suggestion for a local identifier, and providing a filename
extension for systems that use them to identify file types with
incomplete or nonexistent /etc/mime.type media type mappings. I'll
only name so many pictures "pic.jpg", so I suggest using the
descriptive (and thus verbose) value of the title attribute. The worst
problem will be encoding the name on filesystems such as FAT.

<a href="//samplecdn.example/pix/2011/7/14/party/cake"
title="S?kkula?ikaka me? ?s" target="_download">Afm?liskaka m?n</a>

Received on Thursday, 14 July 2011 14:55:32 UTC