W3C home > Mailing lists > Public > www-html@w3.org > September 2001

simple suggestion on <a> tag

From: Jesper Carlström <jesperc@home.se>
Date: Fri, 14 Sep 2001 07:08:09 -0400 (EDT)
Message-Id: <p05100301b7c792a58745@[]>
To: www-html@w3.org
Hello! I have the following suggestion for a future standard of the 
HTML <A> tag. Include an attribute, e.g. called ACTION, allowing the 
author to choose default action on click, with ACTION="view" or 
ACTION="save" as options.

     <A HREF="file.pdf" ACTION="view">

is just a version of what is expressed as

     <A HREF="file.pdf">,


     <A HREF="file.pdf" ACTION="save">

means that the browser should download the file and save it, even if 
it can view it (perhaps using some plug-in).

As it is now, millions of pages contain text like "click with the 
right button on the link and choose the 'save' option".

Jesper Carlström
Received on Monday, 17 September 2001 15:25:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:58 UTC