Home | CSS Tutorials | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Syntax: | text-transform: <value> |
---|---|
Possible Values: | none | capitalize | uppercase | lowercase |
Initial Value: | none |
Applies to: | All elements |
Inherited: | Yes |
The text-transform property allows text to be transformed by one of four properties:
Examples:
H1 { text-transform: uppercase }
H2 { text-transform: capitalize }
The text-transform property should only be used to express a stylistic desire. It would be inappropriate, for example, to use text-transform to capitalize a list of countries or names.
Maintained by John Pozadzides and Liam Quinn
Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.
Home | CSS Tutorials | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |