
<STYLE Type = "Text/Css"><!-- A:Link {Color:Green} --></STYLE>
<STYLE Type = "Text/Css"><!-- A:Visited {Color:Black} --></STYLE>
<STYLE Type = "Text/Css"><!-- A:Active {Color:Blue } --></STYLE>
<STYLE Type = "Text/Css"><!-- A:Hover {Color:Maroon} --></STYLE>
<TAG Style = "Property(1 - n):Value(1 - n)">
Normal Tag Stuff
</TAG>
<HEAD>
<STYLE Type = "Text/CSS"><!--{property(1 - n):value(1 - n);}--></STYLE>
</HEAD>
<HEAD>
<LINK Rel = "StyleSheet" Type = "Text/CSS" Href = "FileName.css" />
</HEAD>
<STYLE Type = "Text/CSS"><!-- H1 {font-family:"Arial"} --></STYLE>
<STYLE Type = "Text/CSS>
<!-- BODY {BackGround-Image:URL("FileName"); BackGround-Position:Top Left} -->
</STYLE>
| Property | Description | Values |
|---|---|---|
| BackGround | Sets all in one declaration | BackGround-Color
BackGround-Image BackGround-Repeat BackGround-Attachment BackGround-Position |
| BackGround-Attachment | Sets whether it's fixed | Scroll or Fixed |
| BackGround-Color | Sets BackGround Color | Color-RGB
Color-Hex Color-Name Color-Tranparent |
| BackGround-Position | Sets the Starting Position | Top Left
Top Center Top Right Center Left Center Center Center Right Bottom Left Bottom Center Bottom Right X-% Y-% X-pos Y-pos |
| BackGround-Repeat | If/How Image repeats | Repeat
Repeat-X Repeat-Y No-Repeat |
<TAG Style = "Text-Property:Value">
| Property | Description | Values |
|---|---|---|
| Color | Sets the Color | Color |
| Direction | Sets Text direction | LTR or RTL |
| Letter-Spacing | Increases/Decreases between | Normal
Length |
| Text-Align | Alignment | Left
Right Center Justify |
| Text-Decoration | Adds a decoration | None
Underline Overline Line-Through Blink |
| Text-Indent | Indents the first line
of Text in an element | Length or a % |
| Text-Transform | Controls the Letters
in an element | None
Capitalize UpperCase LowerCase |
| White-Space | Sets how it's handled | Normal
Pre NoWrap |
| Unicode-Bidi | Normal
Embed Bidi-Override | |
| Word-Spacing | Increase/Decrease Spacing
Between Words | Normal
Length |
| Property | Description | Values | ||||||
|---|---|---|---|---|---|---|---|---|
| font | property for setting all the font attributes | font-style
font-variant font-weight font-size/line-height height font-family caption icon menu message-box small-caption status-bar | ||||||
| font-family | list of font family names | family-name | ||||||
| font-size | sets the size | xx-small
x-small medium large x-large smaller larger length % | ||||||
| font-size-adjust | specifies an aspect value | none
number | ||||||
| font-stretch | condenses or expands the font | normal
wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded utra-expanded | ||||||
| font-style | sets the font style | normal
italic font-variant
| small caps or normal
| normal
| small-caps font-weight
| sets the weight
| normal
| bold bolder lighter 100 thru 900 |
| Property | Description | Values |
|---|---|---|
| Border | Sets them all | Border-Width
Border-Style Border-Color |
| Border-Bottom | Sets bottom border | Border-Bottom-Width
border-Style Border-Color |
| Border-Bottom:Color | Sets the color
of the bottom border | Border-Color |
| Border-Bottom:Style | Sets the Style
of the bottom border | Border-Style |
| Border-Bottom:Width | Sets the Width | Thin
Medium Thick Length |
| Border-Color | Sets the color
of the 4 borders | ColorName |
| Border-Left | Sets all properties
for the left border | Border-left-width
Border-Style Border-color |
| Border-Right | Sets all properties
for the Right border | Border-Right-width
Border-Style Border-color |
| Border-Top | Sets all properties
for the Top border | Border-Top-width
Border-Style Border-color |
| Border-Left | Sets all properties
for the left border | Border-left-width
Border-Style Border-color |
| Border-Style | Sets the Style | None
Hidden Dotted Dashed Solid Double Groove Ridge Inset OutSet |
| Border-Width | Sets the width | Thin
Medium Thick Length |
| Property | Description | Values |
|---|---|---|
| Margin | Sets them all | Margin-Top
Margin-Right Margin-Left Margin-Bottom |
| Margin-Bottom | Bottom margin | Auto
Length % |
| Margin-Left | Auto
Length % | |
| Margin-Right | Auto
Length % | |
| Margin-Top | Auto
Length % |
| Property | Description | Value |
|---|---|---|
| Padding | sets them all | Padding-Top
Padding-Right Padding-Left Padding-Bottom |
| Padding-Top | sets Top Padding | Length
% |
| Padding-Bottom | Length
% | |
| Padding-Left | Length
% | |
| Padding-Right | Length
% |
| Property | Description | Value |
|---|---|---|
| List-Style | Sets all | List-Style-Type
List-Style-Position List-Style-Image |
| List-Style-Image | Sets Image as LI Mark | None
URL |
| List-Style-Position | Sets Marker in the list | Inside
OutSide |
| List-Style-Type | Sets LI Marker type | None
Disk Circle Square Decimal Decimal-Leading-Zero Lower-Roman Upper-Roman Lower-Alpha Upper-Alpha Lower-Greek Upper-Greek Lower-Latin Upper-Latin Hebrew Armenian Georgian CJK-Ideographic Hiragana Katakana Hiragana-Iroha Katakana-Iroha |
| Marker-Offset | Auto
Length |
| Property | Description | Value |
|---|---|---|
| Line-Height | Distance between lines | Normal
Number Length % |
| Max-Height | Max Element Height | None
Length % |
| Max-Width | Max Element Width | None
Length % |
| Min-Height | Min Element Height | Length
% |
| Min-Width | Min Element Width | Length
% |
| Width | Element Width | Auto
Length % |
| Property | Description | Values |
|---|---|---|
| Clear | Sets the sides Where other Floating
elements are not allowed | Left
Right Both None |
| Cursor | Cursor Display | URL
Auto CrossHair Default Pointer Move E-Resize Ne-Resize Nw-Resize N-Resize Se-Resize Sw-Resize S-Resize W-Resize Text Wait Help |
| Display | Element Display | None
Inline Block List-Item Run-in Compact Marker Table Inline-Table Table-Row-Group Table-Header-Group Table-Footer-Group Table-Row Table-Column-Group Table-Column Table-Cell Table-Caption |
| Float | Appearing inside one another | Left
Right None |
| Position | Use this all the time | Static
Relative Absolute Fixed |
| Visibility | Visible
Hidden Collapse |
| Property | Description | Values |
|---|---|---|
| bottom | Sets how far the bottom edge is, relative to the parent bottom edge |
auto % length |
| clip | The Element is clipped to this shape | shape auto |
| left | Sets how far the left edge is, relative to the left edge of the parent |
auto % length |
| overflow | Sets what happens if the content overflows it's area | visible hidden scroll auto |
| right | Sets how far the right edge is, relative to the right edge of the parent |
auto % length |
| top | Sets how far the top edge is, relative to the parent's top edge |
auto % length |
| vertical-align | Sets the vertical alignment of an element | baseline sub super top text-top middle bottom text-bottom length % |
| z-index | Sets the stack order of an element | auto number |
| Pseudo-Class | Purpose |
|---|---|
| Active | |
| Hover | |
| Link | |
| Visited | |
| :First-Child | |
| :Lang |
| Pseudo-Element | Purpose |
|---|---|
| First-Letter | Adds the Style to the first letter of text |
| First-Line | Adds the Style to the first Line of an Element's text |
| Type | Description |
|---|---|
| all | Used for all Media Types |
| aural | Speech and sound synthesizers |
| braille | braille tactile feedback devices |
| embossed | paged braille printers |
| handheld | used for small or handheld devices |
| used for print | |
| projection | used for projectors |
| screen | computers |
| tty | |
| tv |

|
|
|