HTML Font SizeThe Size is an attribute of <font> tag, which specifies the text size. SyntaxIn 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 NowOutput: Browser Support
Next TopicHTML Image Button
|