Latest

recent

CSS text-transform Property

Definition

The text-transform property controls the letters in an element.
Inherited: Yes

JavaScript Syntax

CSS properties can also be dynamically changed with a JavaScript.
Scripting Syntax: object.style.textTransform="capitalize"

Examples

p
{
text-transform: uppercase
}

Possible Values

Value Description
none Default. Defines normal text, with lower case letters and capital letters
capitalize Each word in a text starts with a capital letter
uppercase Defines only capital letters
lowercase Defines no capital letters, only lower case letters

Goto CSS3 and CSS2 complete reference
CSS text-transform Property Reviewed by 1000sourcecodes on 10:03 Rating: 5
Powered by Blogger.