About & Social

0
Several of the CSS property controls the text. As a web page or a paragraph as a heading or other text contains a lot of things. These are the sort of web page text to determine the required style. CSS text property of the text spacing, decoration, color, alignment, including a lot of things can adjust.

CSS Text Proparty

1. Text Color Property:

          Web page text color that is used to determine the color property. 

For example,

           <html>
              <head>
                         <style type=”text/css”>
                                                              h1 {color: #0seff0;}
                                                              p {color:rgb(0,0,255);}
                         </style>
                                     <body>
                                               <h1> This is heading 1</h1>
                                               <p> This is an ordinary paragraph.</p>
                                    </body>
           </html>

Output:

This is heading 1

This is an ordinary paragraph.




Post a Comment

Dear readers, after reading the Content please ask for advice and to provide constructive feedback Please Write Relevant Comment with Polite Language.Your comments inspired me to continue blogging. Your opinion much more valuable to me. Thank you.