W3C home > Mailing lists > Public > www-style@w3.org > April 2008

Re: Default value for Media

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 02 Apr 2008 09:45:48 -0700
Message-ID: <47F3B83C.7060107@inkedblade.net>
To: Andreas Prilop <prilop2008@trashmail.net>
CC: www-style@w3.org

Andreas Prilop wrote:
> What is the default value for
>    <link  media=...>
>    <style media=...>
> ?
> 
>  http://www.htmlhelp.com/reference/css/style-html.html#external
>  http://www.htmlhelp.com/reference/html40/values.html#mediadesc
>  http://www.w3.org/TR/html4/present/styles.html#edef-STYLE
>  http://www.w3.org/TR/html4/struct/links.html#edef-LINK
> say that the default is "screen".
> 
> The example given at
>  http://www.w3.org/TR/html4/present/styles.html#media-cascades
> implies that the default is "all".
> 
> Browsers seem to take "all" as default:
>  http://www.unics.uni-hannover.de/nhtcapri/temp/1000.html

HTML5 defines the default to be "all".

~fantasai
Received on Wednesday, 2 April 2008 16:46:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:03 GMT