Horje

How to Use of the style attribute in an HTML document - HTML style Attribute

Style of This is a header and This is a paragraph.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1 style="color:blue;text-align:center;">This is a header</h1>
<p style="color:green;">This is a paragraph.</p>

</body>
</html>

Output should be:

How to Use of the style attribute in an HTML document - HTML style Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin