Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to apply inline css

Here are the Steps to Apply Inline Css within the Html tags:-


  1. Create a html page with .html extension.
  2. Put some html tags to apply inline CSS for individual item. For example :here we put a heading tag and a paragraph    

    Hello Red

    Hello Blue

  3. To apply inline CSS we use "Style" attribute within the heading and Paragraph tag different for heading and paragraph tag. like

    Hello Red

     

    Hello Blue

  4. here the example below:
           
     
     
          Inline CSS
     
     
       

Hello Red

 
       

Hello Blue

     
       
  1. The output is shown below:

Please comment for suggestions! Enjoy Learning web Development.



This post first appeared on The Code Developer, please read the originial post: here

Share the post

How to apply inline css

×

Subscribe to The Code Developer

Get updates delivered right to your inbox!

Thank you for your subscription

×