文件标签:
<html>
<head>
<title></title>
</head>
<body></body>
</html>
排版标签:
p
br
hr
字体
font
h1~h6
b
strong
i
图片★
<img src="图片路径" alt="替代文字" width="" height=""/>
超链接★
<a href="跳转路径" target="_blank">xxxx</a>
列表
<ol></ol>
<ul></ul>
列表项
<li></li>
表格标签★★
<table border="" width="" align="">
<tr>
<td></td>
</tr>
</table>
td中的重要属性:
colspan:列合并
rowspan:行合并
表单标签★★★
form
常用属性:
action:提交路径
method:提交方式 get和post
常见的子标签:
input
select
textarea
input标签:
10种type
text
password
radio
checkbox
file
submit
reset
button
hidden
image
若想将内容发送到服务器,必须有name属性 username=tom
select标签:
<select name="">
<option value="提交到服务器的值">展示内容</option>
</select>
textarea:文本域
格式:
<textarea cols="" rows="" name=""></textarea>
框架(了解)
frameset:定义框架集
常用属性:
cols:
rows:
常见的子标签:
frame
frame:具体展示
常用属性:
src:展示网页的url
name:给当前的frame起个名称