HTML and CSS Reference
In-Depth Information
font-weight
Used to specify the weight of the current font.
Value:
normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 800 |
800 | 900
Initial value:
normal
Inherited: Yes
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
text-decoration
Used to specify underlining, overlining, strikeout, and blinking effects.
Value:
none |
any combination of:
underline
,
overline
,
line-through
,
blink
Initial value:
none
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
text-transform
Used to specify the case of text.
Value:
capitalize | uppercase | lowercase | none
Initial value:
none
Inherited: Yes
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
Type Spacing and Alignment
CSS offer several properties related to the spacing and alignment of type.
white-space
Used to specify how tabs, line breaks, and extra whitespace in an element's content are handled.
Value:
normal | pre | nowrap | pre-wrap | pre-line
Initial value:
normal
Inherited: Yes
Applies to: Block-level elements
Supported by: Firefox, Safari, Opera, Internet Explorer (see note)