text-transform

The text-transform property specifies capitalization effects of an element's text.

text-transform: capitalize | uppercase | lowercase | none | inherit
Initial: none
Applies To: all elements
Inherited: yes
Percentages: NA
Media: visual

Values

Δ

text-transform: value;
 
Value: Description:
capitalize First character of each word in uppercase, other characters are unaffected
inherit Takes the same computed value as the property for the element's parent
lowercase All characters of each word in lowercase
none No capitalization effects
uppercase All characters of each word in uppercase

DOM

Δ

[window.]document.getElementById("element-id").style.textTransform = "text-transform";

Example | Values | capitalize

Δ

Example | Values | lowercase

Δ

Example | Values | none

Δ

Example | Values | uppercase

Δ

Example | DOM

Δ

References

Δ