[Whatwg] Request for HTML-only print link

Anne van Kesteren schreef:
>> I'd like to see an extension of the hyperlink to give it an HTML-only 
>> print function. Nowadays making a print link available from within a 
>> website
>> always involves client-side scripting. This dependency should not be
>> necessary for something like printing as it is basic functionality in 
>> most browsers (not sure about mobile devices though).
>
>  * <a href="..." media="print" rel="alternate">
>  * <area href="..." media="print" rel="alternate">
>  * <link href="" media="print" rel="alternate">
>
> ... cover this.
Does this do the same as javascript:print()? To me it looks like they 
provide a link to a document that is optimized for print, but does it 
also trigger the print function?

cheers,
Sander

Received on Saturday, 28 July 2007 10:15:23 UTC