HTML Text Size Code For Website - Learn About Website | DaddyFile

0

HTML Text Size Explain

The font-size property defines the text size for an HTML element.



Html Code:

<!DOCTYPE html>
<html>
<body>

<h1 style="font-size:300%;">This is a heading</h1>
<p style="font-size:160%;">This is a paragraph.</p>

</body>
</html>



Html Code Result:

This is a heading

This is a paragraph.

Post a Comment

 
Top