Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

StyleSheet.media

这篇翻译不完整。请帮忙从英语翻译这篇文章

概述

media specifies the intended destination medium for style information.

语法

medium = stylesheet.media 
stylesheet.media =medium

参数

  • medium is a string describing a single medium or a comma-separated list.

示例

<link rel="StyleSheet" href="document.css" type="text/css" media="screen" />

注意

The default value for media is "screen."

Specification

DOM Level 2 Styles - STYLESHEET

文档标签和贡献者

 此页面的贡献者: wth
 最后编辑者: wth,