javascript LINK media
| media | NN 6 IE 4 DOM 1 |
| Read/Write | |
|
Specifies the intended output device for the content of the destination document pointed to by the href attribute. The media property looks forward to the day when browsers are able to tailor content to specific kinds of devices such as pocket computers, text-to-speech digitizers, or fuzzy television sets. This property is not available in IE 4/Macintosh. |
|
| Example | |
if (document.getElementById("link3").media == "print") {
// process for print output
}
|
|
| Value | |
Any one of the following constant values as a string: all | print | screen. |
|
| Default | |
all |
|
Previous: javascript LINK readyState
Next: javascript LINK hreflang
1182,Nickname,Homepage or email,Comments here,Add comment
