span text-transform: lowercase; : span text « Tags « HTML / CSS






span text-transform: lowercase;

     

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
    <head>
        <title>text-transform</title>
<style type='text/css'>
body {
    font: 14px sans-serif;
}
p {
    padding: 5px 25px;
    background: mistyrose;
    border: 1px solid orange;
}
span.lower {
    text-transform: lowercase;
}
span.upper {
    text-transform: uppercase;
}
span.capitalize {
    text-transform: capitalize;
}
span.example {
    background: pink;
}
</style>


    </head>
    <body>
        <h4>Manipulating Case With the text-transform Property</h4>
        <p>
            <span class='lower example'>UPPERCASE TEXT LOWERCASE</span> 
            <span class='upper example'>lowercase text uppercase</span>
            <span class='capitalize example'>capitalize every word in a sentence</span>.
        </p>
    </body>
</html>

   
    
    
    
    
  








Related examples in the same category

1.Span text-transform: uppercase;
2.Span text-align: center;
3.span text-decoration: underline;
4.span text-decoration: overline;
5.span text-decoration: line-through;
6.span text-decoration: blink;
7.span text-decoration: underline overline;
8.span text-decoration: underline line-through;
9.span text-decoration: overline line-through;
10.span text-transform: capitalize;
11.span vertical-align: text-top;
12.span vertical-align: text-bottom;
13.text-indent does not work on inline elements
14.When vertically aligning inline elements,the vertical-align property can be: top, middle, bottom, text-top, text-bottom.
15.Inline vertical-align: text-bottom
16.Inline vertical-align: text-top