1,可能存在的关系 parentNode(父节点) childNodes(子节点) firstChild lastChild nextSibling() previousSibling() 2,插入节点 object.appendChild()在后面插入 object.insertChild()在前 Read More
posted @ 2017-02-27 00:01 monica123456 Views(918) Comments(0) Diggs(0)
1,换行标记<br>,不换行标记<nobr></nobr> 2,添加水平线 <hr> 3,插入特殊符号: 空格 &nbsp " &quto & &amp < &lt > &gt x &times $ &sect © &copy ® &reg ™ &trade 4,超链接包括内部链接、锚点链接,外部链 Read More
posted @ 2016-12-31 16:38 monica123456 Views(98) Comments(0) Diggs(0)
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" Content="text/html; charset=utf-8" /><title>javascript</title><style type="text/css">body{f Read More
posted @ 2016-12-26 16:33 monica123456 Views(212) Comments(0) Diggs(0)
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>display</title> <script type="text/javascript"> Read More
posted @ 2016-12-26 15:50 monica123456 Views(443) Comments(0) Diggs(0)
大致步骤: 1,先用div标签做大框架:头部class=head,中间class=wrapper,页尾用class=footer,再去细分head、wrapper、footer 2,head分为两个部分,则用标签float定义,一个是float:left,一个是float:right,右边的有无序标 Read More
posted @ 2016-12-23 12:13 monica123456 Views(1409) Comments(0) Diggs(0)
<audio controls="controls" height="100" width="100"> <source src="小果 - 蒲公英的梦想.mp3" type="audio/mp3" /> <source src="小果 - 蒲公英的梦想.ogg" type="audio/ogg" Read More
posted @ 2016-12-23 11:46 monica123456 Views(2006) Comments(0) Diggs(0)
一个表只能设计一个表头样式,一个表主体样式,一个表尾样式 1.设计表头样式:thead <thead bgcolor="" align="' valign=""> <tr> <td></td></tr> </thead> 2.设计表主体样式:tbody <tbody bgcolor="" align Read More
posted @ 2016-12-20 17:21 monica123456 Views(311) Comments(0) Diggs(0)
<a href="url">链接内容</a> 说明:超链接指向的不是网页,而是文件时,点击链接的时候回下载文件。一个下载文件对应一个下载链接,而不能为多个文件或一个文件夹建立下载链接。 Read More
posted @ 2016-12-20 16:28 monica123456 Views(264) Comments(0) Diggs(0)
基本语法:<a name="锚点名称"></a> 注意:锚点名称只能包含小写ASCII和数字,不能以数字开头,一个网页可以有多个锚点,但是不能有两个相同名称的锚点。 链接到不同位置的锚点链接 <p><a href="#a">公司介绍</a></p> <p> <a name="a">公司介绍</a>< Read More
posted @ 2016-12-20 16:20 monica123456 Views(385) Comments(0) Diggs(0)
<a href="">连接的图像</a> 设置图像热区链接 <img usemap="#热区名称"> <map name="热区名称"> <area shape="热点形状" coords="区域坐标" href="#链接目标" alt="替换文字"> ..... </map> shape 取值有r Read More
posted @ 2016-12-20 15:59 monica123456 Views(169) Comments(0) Diggs(0)