1. Home
  2. Computing & Technology
  3. Web Design / HTML

XHTML Attributes - media

By Jennifer Kyrnin, About.com

media:

The media attribute specifies what media the link or style should be used with, ie. screen media, print media, etc.

Used with Elements:

Content:

media-descriptors - a comma-separated list of the media types for the associated element

Default:

screen

Deprecated in XHTML 1.0:

No

DTD:

XHTML 1.0 Standard

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. XHTML Attributes - media

©2008 About.com, a part of The New York Times Company.

All rights reserved.