span - HTML元素
来源:百度文库 编辑:神马文学网 时间:2024/04/28 03:50:14
定义
指定内嵌文本容器。
Specifies an inline text container.
注释
SPAN 元素在样式表(CSS)的应用方面特别有用。
此元素在 Internet Explorer 3.0 及以上版本的 HTML 中可用,在 Internet Explorer 4.0 及以上版本的脚本中可用。
此元素是内嵌元素。
此元素需要关闭标签。
The SPAN element is especially useful for applying cascading style sheets (CSS) styles.
This 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.
元素示例代码
下面的例子使用了 SPAN 元素创建了一个内嵌文本容器,将包含的文本颜色变成蓝色。
This example uses the SPAN element to create an inline text container that changes the color of a word to blue.
指定内嵌文本容器。
Specifies an inline text container.
注释
SPAN 元素在样式表(CSS)的应用方面特别有用。
此元素在 Internet Explorer 3.0 及以上版本的 HTML 中可用,在 Internet Explorer 4.0 及以上版本的脚本中可用。
此元素是内嵌元素。
此元素需要关闭标签。
The SPAN element is especially useful for applying cascading style sheets (CSS) styles.
This 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.
元素示例代码
下面的例子使用了 SPAN 元素创建了一个内嵌文本容器,将包含的文本颜色变成蓝色。
This example uses the SPAN element to create an inline text container that changes the color of a word to blue.
本段包含了单独的蓝色单词。
span - HTML元素
DHTML 参考手册 - SPAN 元素 | span 对象
html HTML元素
HTML元素参考手册
a--HTML元素
acronym--HTML元素
address--HTML元素
applet--HTML元素
area--HTML元素
b HTML元素
base HTML元素
basefont HTML元素
bgsound HTML元素
big HTML元素
blockquote HTML元素
body HTML元素
br HTML元素
button HTML元素
center HTML元素
cite HTML元素
code HTML元素
col HTML元素
comment HTML元素
dd HTML元素