HTML CSS Reference/HTML Attributes Reference/media — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:20, 26 мая 2010
"media" Example
<HTML>
<head><Title>Example For media</Title></head>
<BODY>
<link rel="stylesheet"
href="yourfile.css"
type="text/css"
media="screen">This is alink</link>
</BODY>
</HTML>
media is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<link> <style> (not IE4) |
+----------------+--------------------------------------------------------------+
"media" Syntax and Note
Note:
This attribute sets the media type.
The possible values include
screen display on the user"s computer screen,
print display as a screen preview or in printed form,
all include all media types.
Syntax:
<element media="value">