回到目录

HTML元素 - sub

定义

说明内含文本要以下标的形式显示,比当前字体稍小。

Specifies that the enclosed text should be displayed in subscript, using a smaller font than the current font.

注释

此元素在 Internet Explorer 3.0 及以上版本的 HTML 中可用,在 Internet Explorer 4.0 及以上版本的脚本中可用。

此元素是内嵌元素。

此元素需要关闭标签。

The SUB element is available in HTML as of Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

This element is an inline element.

This element requires a closing tag.

示例代码

(X<SUB>1</SUB>,Y<SUB>2</SUB>)

另见

sup