property

text-transform — CSS reference

Changes presentation rather than the source string. Initial none and inherited. Language affects casing, including Turkish dotted and dotless I.

Formal Syntax & Structure

css syntaxcss
none | capitalize | uppercase | lowercase | full-width | full-size-kana (selected)

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS text lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}
#a{text-transform:uppercase}</style><body><p id="a">Design readable interfaces with CSS.</p><p lang="fa" dir="rtl">متن فارسی برای آزمایش چیدمان</p></body></html>
CSS Reference