HTML Font Size
The Size is an attribute of <font> tag, which specifies the text size.
In the above syntax, the number is a value of the Size attribute, which denotes the text size. The number for the font size is lies between the 1 and 7. By default, the font size of a text on a web page is 3.
Note: The size attribute of <font> tag is not supported in HTML5. We can use CSS instead of it.
Example 1: The following example uses the different numbers from 1 to 7 as the size of a text:Test it Now
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week