Horje

Full Example of HTML Inline CSS

The following example sets the text color of the <h1> element to blue, and the text color of the <p> element to red:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1 style="color:blue;">A Blue Heading</h1>

<p style="color:red;">A red paragraph.</p>

</body>
</html>

Output should be:

Full Example of HTML Inline CSS



Single Articles
Full Example of HTML Inline CSSHTML CSS


Related Articles
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

Type:
Html
Category:
Web Tutorial
Sub Category:
HTML CSS
Uploaded by:
Admin