地下城手搓怎么改:HTM 文件 中 </SPAN> 起什么作用?

来源:百度文库 编辑:神马品牌网 时间:2024/04/29 18:47:20
<TD><SPAN class=t15>气 门 数:</SPAN> 20</TD>
中间怎么有个SPAN,什么作用?

定义
指定内嵌文本容器。

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.

<P>本段包含了单独的<SPAN STYLE="color: blue">蓝色</SPAN>单词。
参考资料:http://www.blabla.cn/html_tag_ref/span.html