HTML tag (Not Supported in HTML5)HTML 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 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 tag
Example 1Output: Using CSSThe same effect can be achieved using CSS properties as in below example: Output: AttributeTag-specific attribute
Supporting Browsers
Next TopicHTML footer Tag
|