HTML <font> tag (Not Supported in HTML5)HTML <font> tag is used to define the font style for the text contained within it. It defines the font size, color, and face or the text in an HTML document. NOTE: Do not use HTML <font> tag as it is deprecated in HTML5, so you can use CSS properties to change the font size, face, color, etc.SyntaxFollowing are some specifications about the HTML <font> tag
Example 1Test it NowOutput: Using CSSThe same effect can be achieved using CSS properties as in below example: Test it NowOutput: AttributeTag-specific attribute
Supporting Browsers
Next TopicHTML footer Tag |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India