This is an inline styled paragraph.
2. Internal CSS When you place your CSS directly inside a Example:How to Add CSS to HTML
When you create a webpage, you need to style it — and for that, CSS is added to HTML. There are three clean ways to do this:
1. Inline CSS
When you directly add styling inside an HTML tag using the style attribute — whether it’s one line or multiple — that’s called Inline CSS.
It’s like giving instant instructions to just that one element, right there, without using any separate file or extra class.
Syntax(in HTML file only):
Example: