CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

Text Transform in CSS

The text-transform Property



The text-transform CSS property specifies how to transform an element's text. For example, it can be used to make text appear with each word capitalized or it can be used to make all characters uppercases or lowercase depending on different scenarios.




Its syntax is:-

< style >


text-transform: none| capitalize| uppercase| lowercase| initial| inherit;


< /style >


Further Explanation:-


Value Description
none No capitalization.
capitalize Transforms the first character of each word to uppercase.
uppercase Transforms all characters to uppercase.
lowercase Transforms all characters to lowercase.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Basic

All Sections related to CSS