HTML STYLE:-
<html>
<body>
<p>I am normal</p>
<p style="color:yellow;">I am Akash.</p>
<p style="color:green;">I am Ansh.</p>
<p style="font-size:150px;">I am Operator.</p>
</body>
</html>
<html>
<body>
<p>I am normal</p>
<p style="color:yellow;">I am Akash.</p>
<p style="color:green;">I am Ansh.</p>
<p style="font-size:150px;">I am Operator.</p>
</body>
</html>
OUTPUT:-
- Setting the style of an HTML element, can be done with the <style> attribute.
- SYNTAX:- <tagnamestyle="property:value;">.
No comments:
Post a Comment