<font>
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
<font>
HTML 元素定义其内容的字体大小、颜色和外观。
¥The <font>
HTML element defines the font size, color and face for its content.
警告:不要使用该元素。使用 CSS 字体 属性设置文本样式。
¥Warning: Do not use this element. Use the CSS Fonts properties to style text.
属性
¥Attributes
与所有其他 HTML 元素一样,此元素支持 全局属性。
¥Like all other HTML elements, this element supports the global attributes.
DOM 接口
规范
Specification |
---|
HTML Standard # font |
浏览器兼容性
BCD tables only load in the browser
¥Browser compatibility