p : p class : Text Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Text Attributes » p class »

 

p


 

<!DOCTYPE html PUBLIC "-/pp/W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title></title>
        <style type='text/css'>
            h1::first-letter, p::first-letter {
                text-transform: capitalize; 
            }


            p::first-letter {
                font: 120"Monotype Corsiva";
            }
        </style>
    </head>
    <body>
        <h1>This is a test. </h1>
        <p>This is a test. </p>
    </body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Text Attributes
» p class