Mikrolån med lav Rente | Bluetooth Hiiri | Visa Kredittkort | Strømpris Sammenligning | Husalarm | Billigste Forsikring | Beste Mobilabonnement | Rimelig Elektriker
CSS

CSS Text Transformation

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:

<html>
<head>
<title> www.trickbd.com.bd</title>
<style>
body{background:#090}
p.uppercase {text-transform:uppercase;}
p.lowercase {text-transform:lowercase;}
p.capitalize {text-transform:capitalize;}
</style>

</head>
<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>
</body>
</html>

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.

Comments

comments

About the author

Toriqul Islam Tusher

বলার মত কিছু নাই!

Leave a Comment