Control the letters in a text

Submitted by:Tim Kelly

Date added:19 January, 2012

Category:CSS

CSS Code example - how to control the letters in a text

Tags: control letters

Code Snippet:

<html>
<head>
<style type="text/css">
p.uppercase {text-transform:uppercase;}
p.lowercase {text-transform:lowercase;}
p.capitalize {text-transform:capitalize;}
</style>
</head>

<body>
<p class="uppercase">This is text.</p>
<p class="lowercase">This is text.</p>
<p class="capitalize">This is text.</p>
</body>
</html>
 
 

Comments