1、HTMLcss
1.html基础html
(1)当您保存 HTML 文件时,既能够使用 .htm 也能够使用 .html拓展名,二者没有区别
(2)单标签最好都使用<b/><hr/>
默认状况下,HTML会自动地在块级元素先后添加一个额外的空行,好比段落、标题元素先后。bootstrap
(3)属性:<img width="200px"> <table border="1">
(4)引用:
HTML <q> 元素定义短的引号,如:<p>WWF 的目标是<q>构建</q></p>
用于长引用的 HTML <blockquote>,如:<p>如下内容引用自 WWF 的网站:</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
五十年来,WWF 一直致力于保护天然界的将来。</blockquote>
用于缩略词的 HTML <abbr>:<p><abbr title="World Health">WHO</abbr> 成立</p>浏览器
(5)带有可点击区域的图像映射:
<img src="planets.jpg" border="0" usemap="#planetmap" alt="Planets" />框架
<map name="planetmap" id="planetmap">
<area shape="circle" coords="180,139,14" href ="venus.html" alt="Venus" />
<area shape="circle" coords="129,161,10" href ="mercur.html" alt="Mercury" />
<area shape="rect" coords="0,0,110,260" href ="sun.html" alt="Sun" />
</map>网站
(6)表格<table border="1">
<tr>
<th>Heading</th>
<th>Another Heading</th>
</tr>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
</table>htm
(7)bootatrap的组件
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bootstrap.min.css">utf-8
(8)框架:框架结构标签(<frameset>)定义如何将窗口分割为框架.每一个 frameset 定义了一系列行或列.rows/columns 的值规定了每行或每列占据屏幕的面积
8.1第一种:不能将 <body></body> 标签与 <frameset></frameset> 标签同时使用!不过,假如你添加包含一段文本的 <noframes> 标签,就必须将这段文字嵌套于 <body></body> 标签内ci
<frameset cols="25%,50%,25%">
<frame src="/example/html/frame_a.html">
<frame src="/example/html/frame_b.html">
<frame src="/example/html/frame_c.html">get
<noframes>
<body>您的浏览器没法处理框架!</body>
</noframes>
</frameset>
8.2第二种。上下高度同样的两个。下面分别占一部分的两块
<frameset rows="50%,50%">
<frame src="/example/html/frame_a.html">
<frameset cols="25%,75%">
<frame src="/example/html/frame_b.html">
<frame src="/example/html/frame_c.html">
</frameset>
</frameset>
8.3iframe 用于在网页内显示网页 <iframe src="1.小知识.html" width="200" height="200" frameborder="0"></iframe> iframe 可用做连接的目标(target)。 连接的 target 属性必须引用 iframe 的 name 属性: <iframe src="http://www.baidu.com" name="iframe_a"></iframe> <p><a href="http://www.w3school.com.cn" target="iframe_a">W3School.com.cn</a></p>(9)(10)(11)