[Whatwg] Request for HTML-only print link

Sander html5 at zoid.nl
Sat Jul 28 10:15:23 PDT 2007

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?


More information about the whatwg mailing list