Inline CSS
Inline CSS is used to apply style to Html elements.Use Inline CSS within the html tag where you want to apply.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
Here the example of Inline CSS:
Hello Red
Hello Blue
The output is shown below:
Inline CSS
Please comment for suggestions! Enjoy Learning web Development.
Inline CSS
Learn CSS Methods:How To Apply CSS in Html web page or Website