Horje

Full Example of HTML style Attribute

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h2>The style Attribute</h2>
<p>The style attribute is used to add styles to an element, such as color:</p>

<p style="color:red;">This is a red paragraph.</p>

</body>
</html>

Output should be:

Full Example of HTML style Attribute




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