Font tag attributes: Color attribute (color): Specify text color Font attribute (face): Specify font size attribute (size): Specify text size alignment attribute (align): Specify text alignment language code attribute ( lang): Specify the text language code style attribute (style): Specify the text style (bold, italic, underline)
Attributes of the HTML Font tag
Font tag is used to define the font, size and color of text. It has the following properties:
Color property
Font attribute
Alignment attribute
Other attributes
Usage example
<code class="html"><font color="red" face="Arial" size="4">这是红色 Arial 字体大小 4 的文本。</font></code>
Note
The above is the detailed content of Attributes of font tag in html. For more information, please follow other related articles on the PHP Chinese website!