Site icon DataFlair

Text Property in CSS

Full Stack Web Development Courses with Real-time projects Start Now!!

Program 1

<html>
    <head>
        <style>
            p{
             
                text-transform: uppercase;
                text-decoration:line-through;
                text-indent:20px;
                word-spacing:50px;
                letter-spacing:12px;
                line-height:10;

                
                
                
                
              
               
                
                
            }
            a{
                text-decoration: none;
            }
           
        </style>
    </head>
    <body>
        <p>this is my website</p>
        <p>This is some text</p>
        <p>This is some text</p>
        <a href="#">Click</a>
        
        
    </body>
</html>

 

Exit mobile version