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@[213.89.247.170]>
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">,

while

     <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".

Regards,
Jesper Carlström
-- 
Received on Monday, 17 September 2001 15:25:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT