7、html表格 table
主要用途是显示数据和图片,并且可以布局
tr<align=> 表示一行 td 表示一列 th 定义表头 th字体更粗
<table width= align="center/left" border= bgcolor= bordercolor=></table>
<table cellspacing= cellpadding=></table>
cellspacing表格空隙大小,格子与格子之间的距离,
cellpadding填充大小,各行各列中的内容被填充,这样在一定程度上会撑大格子
8、跨多列 <td colspan= ></td>
跨多行 <td rowspan= ></td>
9、html的无序列表 ul-li
<ul type= ></ul>
type属性 disc: 实心圆点 circle:空心圆 square:空心正方形
10、html的有序列表 ol-order list -li
<ol type="" start=""></ol> type属性:a,A,i,I,1
11、frameset /frame 框架标记,不需要body
<frameset cols="按照列的百分比分割--20%,30,%,*" rows=“按照行的百分比分割” noresize frameborder>
<frame 属性=“属性值” src="路径" name=“”相当于给该frame取名/> 或者</frame>
</frameset>
12、html的表单元素
介绍:主要用于让用户输入数据,并提交给服务器
基本语法:
<form action ="url" method="提交的方法"post/get,默认是get> action(指定把表单交给某个页面)
各种元素【输入框,下拉列表,文本域,密码框】
</form>
输入框<input type="
text(文本框),password(密码框),checkbox(复选框)checked修饰 默认选中,radio(单选框),image(图片按钮),hidden(隐藏框,即可提交数据,同时不影响界面),submit(提交按钮),reset(重置)" name="自己给该表单取得名字"
value=""/>
下拉列表框 <select name=""><option value=""> gjkk</option></select>
文本域<textarea cols="" rows="" ></textarea>
文本控件:<input type="file" name="">选择上传的文件
13、html的加强
<body link="color" text="color" topmargin(离页面顶端的距离)= leftmargin= >
<a href="" target="值"> </a> </body>
标题<h#> </h#> #=1,2,3,4,5,6
字体<font size=# color=""> </font> #=1,2,3,4,5,6,7
物理字体 <b>加粗</b> <i>倾斜</i> <u>下划线</u>
客户端字体<font face="" > 华文彩云,华文新魏等等</font>
文字分区<div style=""></div>
预格式化文本<pre></pre>
字体闪烁<blink></blink>
<img src= "" alt="当鼠标放到图片上就可以显示相关内容">
<marquee direction="left/right" >跑马灯</marquee>
嵌入多媒体文本
<embed src="">