Styles can be defined for different media. For example, you may want to style a page one way for viewing with a browser and a different way for viewing in print. The media type is defined in the <link> tag for external style sheets and in the <style> tag for embedded style sheets.
For example,
<link href=”stylesheet.css” rel=”stylesheet” type=”text/css” media=”screen”>
Or,
<style type=”text/css” media=”all”>
/* rules */
<style>
If the media is undefined then the style rules will apply to all media. Possible values for media are: