1.html的基本结构
<html>
<head>
</head>
<body>
</body>
</html>
2.<head>
<title>
<meta>
<script..>
<link>
<style>
</head>
3.<body>
<b><u><i>
<font color ="" size="" face=""></font>
4.<br/><p><pre>
5.<ul><li></li></ul>
<ol><li></li></ol>
<dd><dt><dl>
6.<h1~h6> <h5>
<hr color="" size="" width=""/>
<!--注释-->
7.<a href="页面的路径" target="_blank">
<a name="ph1"></a>锚点
<a href="#ph1">链接到锚点</a>
<img src="图片的路径" border="" width="" height="" align="center" alt="hehe"/>
8.<table width="" border="" bordercolor="" cellspacing="0" cellpadding="10" >
<tr><th>标题</th></tr>
<tr><td rowspan="" colspan=""></td></tr>
</table>
第二章:
1.<marquee> :滚动标签 站内广告
2.<table>:布局
<span> :块
<div>: 块
页面的设置<div>做布局
<from>:表单验证 (注册)
<embed>:动态
<frameset><frame><iframe>:框架集
1.<marquee direction="left|right|up|down" scrollamount ="" behavior="alternate" οnmοuseοver="this.stop();" οnmοuseοut="this.start();">内容</marquee>
2.table:td来存放信息 表格内的数据格式如果和外部的格式不一致,那么就用表格嵌套,尽量少嵌套几层
嵌套太多,1.会影响document文档树的加载速度 2.解析比较复杂
单位:
px:像素
pt:磅
<span>能够在同一行显示其他的元素 banner导航条
<div>不能在同一行显示其他的元素 页面布局
常见的页面布局
上 header
中 main(左,中 ) (左中右) (中,右)
下 footer
div+table 做布局 :前台页面(游客用户)
frameset :后台页面(管理员)
<html>
<head></head>
<!--绝对不能有body-->
<frameset rows="20%,80%">
<frame src="top.html">
</frame>
<frameset cols="20%,80%" >
<frame src="left.html">
</frame>
<frame name="mainframe">
</frame>
</frameset>
</frameset>
</html>
<html>
<head>
</head>
<body>
</body>
</html>
2.<head>
<title>
<meta>
<script..>
<link>
<style>
</head>
3.<body>
<b><u><i>
<font color ="" size="" face=""></font>
4.<br/><p><pre>
5.<ul><li></li></ul>
<ol><li></li></ol>
<dd><dt><dl>
6.<h1~h6> <h5>
<hr color="" size="" width=""/>
<!--注释-->
7.<a href="页面的路径" target="_blank">
<a name="ph1"></a>锚点
<a href="#ph1">链接到锚点</a>
<img src="图片的路径" border="" width="" height="" align="center" alt="hehe"/>
8.<table width="" border="" bordercolor="" cellspacing="0" cellpadding="10" >
<tr><th>标题</th></tr>
<tr><td rowspan="" colspan=""></td></tr>
</table>
第二章:
1.<marquee> :滚动标签 站内广告
2.<table>:布局
<span> :块
<div>: 块
页面的设置<div>做布局
<from>:表单验证 (注册)
<embed>:动态
<frameset><frame><iframe>:框架集
1.<marquee direction="left|right|up|down" scrollamount ="" behavior="alternate" οnmοuseοver="this.stop();" οnmοuseοut="this.start();">内容</marquee>
2.table:td来存放信息 表格内的数据格式如果和外部的格式不一致,那么就用表格嵌套,尽量少嵌套几层
嵌套太多,1.会影响document文档树的加载速度 2.解析比较复杂
单位:
px:像素
pt:磅
<span>能够在同一行显示其他的元素 banner导航条
<div>不能在同一行显示其他的元素 页面布局
常见的页面布局
上 header
中 main(左,中 ) (左中右) (中,右)
下 footer
div+table 做布局 :前台页面(游客用户)
frameset :后台页面(管理员)
<html>
<head></head>
<!--绝对不能有body-->
<frameset rows="20%,80%">
<frame src="top.html">
</frame>
<frameset cols="20%,80%" >
<frame src="left.html">
</frame>
<frame name="mainframe">
</frame>
</frameset>
</frameset>
</html>