HTML TEXT SIZE:-
<html>
<body>
<h1 style="font-size:150%;">This is a heading</h1>
<p style="font-size:300%;">This is a paragraph.</p>
</body>
</html>
<html>
<body>
<h1 style="font-size:150%;">This is a heading</h1>
<p style="font-size:300%;">This is a paragraph.</p>
</body>
</html>
OUTPUT:-
- The font-size property defines the text size for an HTML element.
- EXAMPLE:- <h1 style="font-size:150%;">This is a heading</h1>
No comments:
Post a Comment