CSS TUTORIALS - CSS - Inclusion
CSS - Inclusion
ADVERTISEMENTS
|
ADVERTISEMENTS
Attributes:
Attribute | Value | Description |
---|---|---|
type | text/css | Specifies the style sheet language as a content-type (MIME type). This is required attribute. |
media | screen tty tv projection handheld braille aural all | Specifies the device the document will be displayed on. Default value is all. This is optional attribute. |
ADVERTISEMENTS
Example:
|
|
Attributes:
Attribute | Value | Description |
---|---|---|
style | style rules | The value of style attribute is a combination of style declarations separated by semicolon (;). |
Example:
|
This is inline CSS |
|
Attributes:
Attribute | Value | Description |
---|---|---|
type | text/css | Specifies the style sheet language as a content-type (MIME type). This attribute is required. |
href | URL | Specifies the style sheet file having Style rules. This attribute is a required. |
media | screen tty tv projection handheld braille aural all | Specifies the device the document will be displayed on. Default value is all. This is optional attribute. |
Example:
|
|
|
|
Example:
|
|
Example:
|