Forbrukslån Beste | Sähkön Hintavertailu | Kredittkort Test 2018 | Kraftpriser | Billigste Hjemmealarm | Båtforsikring | Billigste Mobilselskaper | Svensk Godis på Nett

CSS Text Transformation

Written by Tusher

Uppercase or lowercase letters included in the text block, or the first letter of each word in capital letters are used for converting the text transformation. For converting all characters to uppercase, including the text of the Declaration to be text-transform: uppercase; Declaration for conversion to lowercase text-transform: lowercase; The first letter of each word to uppercase Declaration for converting text-transform: capitalize; .

Practice Project:

p.uppercase {text-transform:uppercase;}
p.lowercase {text-transform:lowercase;}
p.capitalize {text-transform:capitalize;}

<body >
<p class=”uppercase”>This is an example of uppercase.</p>
<p class=”lowercase”>This is an example of lowercase.</p>
<p class=”capitalize”>This is an example of capitalize.</p>

Notepad to open a file type from the menu at the top of layer code by clicking on the Save as File name: index.html, Save as type: All files, save and open the index.html file with the Mozilla Firefox look like the image shown below.

About the author