Wednesday, December 26, 2018

Text Size.

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>

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

Internal Javascripts

Internal Javascripts :    The script code can be written directly into the HTML document. script code is placed in header of the docume...