basefont HTML元素

来源:百度文库 编辑:神马文学网 时间:2024/07/02 18:38:56
定义
设置显示文本时作为默认字体的基础字体值。
Sets a base font value to be used as the default font when rendering text.
注释
此元素仅可在 body 元素或 head 元素中使用。BASEFONT 应该出现在文档 body 中的任何显示文本之前。
此元素在 Internet Explorer 3.0 及以上版本的 HTML 中可用,在 Internet Explorer 4.0 及以上版本的脚本中可用。
此元素不改变内容显示格式。
此元素不需要关闭标签。
This element can be used only within the BODY element or the HEAD element. BASEFONT should appear before any displayed text in the body of the document.
This element is available in HTML as of Internet Explorer 3.0, and in script as of Internet Explorer 4.0.
This element is not rendered.
This element does not require a closing tag.
元素示例代码
下面的例子使用 BASEFONT 元素来设置基础字体大小,而 FONT 元素用来临时覆盖此设置。
This example uses the BASEFONT element to set the base font size, and the FONT element to temporarily override it.
Set the BASEFONT size. Temporarily override the BASEFONT size.标准信息
该对象已不建议使用,将可能在今后HTML标准中废弃。
This object is deprecated in HTML.
见http://www.w3.org/TR/html401/index/elements.html