<basefont>
描述 (Description)
HTML
例子 (Example)
<!DOCTYPE html>
<html>
<head>
<title>HTML basefont Tag</title>
</head>
<body>
<basefont face = "cursive,serif" color = "#ff9900" size = "4"/>
<p>The HTML basefont tag is now deprecated. You should use CSS font
to set font properties instead.</p>
</body>
</html>
这将产生以下结果 -
新页面打开此结果可能会因浏览器而异。
全局属性 (Global Attributes)
此标记支持HTML Attribute Reference描述的所有全局属性
具体属性 (Specific Attributes)
HTML
属性 | 值 | 描述 |
---|---|---|
color | rgb(x,x,x) #xxxxxx colorname | Deprecated - 指定文本的颜色。 |
face | 字体名称以逗号分隔 | Deprecated - 指定文本的字体系列。 |
size | 1至7 | Deprecated - 指定文本的字体大小。 |
事件属性 (Event Attributes)
此标记支持HTML Events Reference中描述的所有事件属性
浏览器支持 (Browser Support)
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
不支持 | 不支持 | Yes | 不支持 | 不支持 | 不支持 |