CSS2 Text Properties


This is a complete reference guide for web developers where haved we listed all the CSS properties related to Text defined in the World Wide Web Consortium's Recommended Specification for Cascading Style Sheets, Level 2

Click any property to see its description with examples:

Property Description
color Sets the color of an element
direction Defines direction of the flow of an element content
line-height Sets the distance between adjacent text baselines
text-align Sets the text alignment style for an element
text-decoration Defines any decoration for the text; values may be combined
text-indent Defines the indentation of the first line of text in an element; default is 0
text-shadow Creates text drop shadows of varying colors and offsets
text-transform Transforms the text in the element accordingly
vertical-align Sets the vertical positioning of an element
white-space Defines how whitespace within an element is handled
word-spacing Inserts additional space between words


 







Spacer Bottom Left Corner ImageBottom Right Corner Image
Valid XHTML 1.0 Strict  Valid CSS! Check the accessibility of this site according to U.S. Section 508