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

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

Summary

media specifies the intended destination medium for style information.

Syntax

medium = stylesheet.media 
stylesheet.media =
medium

Parameters

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

Example

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

Notes

The default value for media is "screen."

Specification

DOM Level 2 Styles - STYLESHEET

ドキュメントのタグと貢献者

タグ: 
 このページの貢献者: fscholz, teoli, kscarfone, Sheppy, ethertank, Mgjbot, Dria
 最終更新者: fscholz,