Use the media element to specify a css for a handheld device

By [)ia6l0 iii

Use the media element to specify a css for a handheld device.

Specify "handheld" in the media element to indicate to the user agent that the style sheet is for the small form factor devices.

<link rel="stylesheet" type="text/css" href="handheld.css" media="handheld" />

Related FAQs

A Pseudo class is a class that applies to an element due to the result of an user's action; Hover for example.
A Rule set in css refers to a selector and its declarations.
A Selector in CSS define or select the html elements that the CSS rules apply for.
Below is a short list of disadvantages of using inline styles
An inline style is applied through the "Style" attribute to the element.
Use the link attribute to link a style sheet to your web page
Use the media element to specify a css for a handheld device  (581 Views)