Home | Computer Science

<
CSS Text Transformation

Text Transformation

The text-transform property is used to specify uppercase and lowercase letters in a text. It can be used to turn everything into uppercase or lowercase letters, or capitalize the first letter of each word:


CSS Text Decoration Thickness
Syntax of Text decoration Thickness is
p {
Text-decoration-thickness: ;
}
Note
Its value can be given by auto double 5px etc...
Program
INPUT

<!DOCTYPE html> <html> <head> <style> p.uppercase { text-transform: uppercase; } p.lowercase { text-transform: lowercase; } p.capitalize { text-transform: capitalize; }

Using the text-transform property

This text is transformed to uppercase.

This text is transformed to lowercase.

This text is capitalized.

</style> </head> <body>

OUTPUT