Media Types

December 3, 2006

Media types can be used by different kinds of things like adding a CSS to your website for PC screens and handheld devices or adding a CSS for printing pages. Today I will explain all media types to you!

List of media types:
Media Types

How to use:
Media types can be used on several ways in your HTML and CSS file. Want to create an extern file for one media type? Than you can use the following line between the ‘head’ tags. (For example print.)
<link rel="stylesheet" href="CSS/print.css" type="text/css" media="print" />

Want to include it in your HTML file you can use the following lines between the ‘head’ tags. (For example print.)
<style type="text/css">
@media print body {
background: #DFEBFF;
color: #000000;
font-family: Arial;
font-size: 12px;
}
</style>

This was my tutorial about media types. Questions? Please fill the reaction form.. :)

Advertisement

2 Responses to “Media Types”

  1. Essee Says:

    Maybe a bit longer?

  2. Vladmir Says:

    What do you like to see more?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.