W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2007

[Whatwg] Request for HTML-only print link

From: Sander <html5@zoid.nl>
Date: Sat, 28 Jul 2007 19:15:23 +0200
Message-ID: <46AB79AB.9060607@zoid.nl>

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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:36 UTC