![]() |
An inline CSS is used to apply a unique style to a single HTML element. An inline CSS uses the The following example sets the text color of the |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1 style="color:blue;">A Blue Heading</h1>
<p style="color:red;">A red paragraph.</p>
</body>
</html>
What is HTML CSS | HTML CSS |
How to use CSS | HTML CSS |
How to use HTML Inline CSS | HTML CSS |
How to use HTML Internal CSS | HTML CSS |
How to use HTML External CSS | HTML CSS |
How to create HTML CSS Colors, Fonts and Sizes | HTML CSS |
Full Example of HTML Inline CSS | HTML CSS |
Read Full: | HTML CSS |
Category: | Web Tutorial |
Sub Category: | HTML CSS |
Uploaded by: | Admin |
Views: | 86 |
Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_css_inline