HTML 标签

来源:互联网 发布:蓝牙模块主动发送数据 编辑:程序博客网 时间:2024/06/10 07:40

<br>换行
<nobr></nobr>表示居于其中的内容不换行
<p></p>段落标记
<h1></h1>……<h6></h6>标题标签
<b></b>加粗
<i></i>斜体
<u></u>表示居于其中的内容在代码中排版方式和显示的一样,不变
<sub></sub>表示居于其中的内容为下标
<sup></sup>表示居于其中的内容为上标
<blockquote></blockquote>居于其中的内容自动缩进2个字符位置,加一对缩进一次
<center></center>水平居中
<marquee behavior="slide" direction="up"></marquee>其中的slide表示从下滚动到上面就停止,
可以换为alternate(来回滚动)或scroll(循环移动);up表示移动方向从下往上,可以换为down(表示从上往

下)、left(表示从右到左)或right(表示从左往右)
<dl></dl><dt></dt><dd></dd>其中<dl>用于创建列表,<dt>创建列表中的上层显示条目,<dd>创建列表

中最下层的项目

<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2" direction="up" width=135 height=300>
将鼠标滑到上面试试看</marquee>

0 0
原创粉丝点击