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?

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:57 UTC