Style Object
The textTransform property sets or returns the case of a text.
Set the textTransform property:
Return the textTransform property:
| Value | Description |
|---|---|
| none | No characters are converted. This is default |
| capitalize | The first character of each word is converted to uppercase |
| uppercase | All characters are converted to uppercase |
| lowercase | All characters are converted to lowercase |
| inherit | The value of the textTransform property is inherited from parent element |
![]()
The textTransform property is supported in all major browsers.
Convert the first letter of each word to uppercase:
Style Object
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $7.95/mo SEO Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| XML Editor - Free Trial! |
| FREE Website BUILDER |
| Free Website Templates Free CSS Templates |
| Make Your Own Website |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|