Underlined title : Title section : CSS Controls HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Controls » Title section »

 

Underlined title


 

<!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'>
            body {
                width: 200px;
            }
            h1::first-letter, p::first-letter {
                text-transform: capitalize; 
            }
            h1 {
                text-align: center;
                text-decoration: underline;
            }
            {
                text-indent: 25px;
                text-align: justify;
                letter-spacing: 1px;
                word-spacing: 5px;
            }
            
        </style>
    </head>
    <body>
        <h1>This is the title.</h1>
        <p>This is a test. This is a test. This is a test. </p>
        <p>This is a test. This is a test. </p>
        <p>This is a test. </p>
    </body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Controls
» Title section