html标签

2019-02-20  本文已影响0人  分分钟钟_da3d

第一章 标签

1、标题标签:<h1></h1>

2、段落标签:<p></P>

3、水平线标签:<hr />

4、换行标签:<br />

5、盒子:div、span(可同行)

6、文本格式话标签:

加粗:、

斜体:

加删除线:

加下划线:

7、图像标签:

8、链接标签:

[if !supportLists]9、[endif]瞄点标签:

[if !supportLists]10、[endif]base标签(target=”blank的新方法):<base target=”blank” />写在head中。

[if !supportLists]11、[endif]特殊字符:(空格)<(小于)>(大于)

[if !supportLists]12、[endif]注释标签:

[if !supportLists]13、[endif]路径

[if !supportLists]1. [endif]相对路径:

[if !supportLists](1) [endif]目标文件与HTML文件在同一文件夹,访问方式

[if !supportLists](2) [endif]目标文件与HTML文件的下一级文件夹,输入文件夹名与文件名,访问方式

[if !supportLists](3) [endif]目标文件与HTML文件的上一级文件夹,访问方式

[if !supportLists]2. [endif]绝对路径:输入完整的网址

[if !supportLists]14、[endif]无序列表ul:

<ul>

   <li></li>

   <li></li>

   <li></li>

</ul>

[if !supportLists]15、[endif]有序列表ol:

<ol>

   <li></li>

   <li></li>

   <li></li>

</ol>

[if !supportLists]16、[endif]自定义列表

<dl>

<dt>北京</dt>

<dd></dd>//转为dt标签内容进行说明,可有多个

</dl>主要用于网站底部

上一篇 下一篇

猜你喜欢

热点阅读