表格
table 标签
border
width
height
cellspacing 单元格之间的间隙 默认2
cellpadding 单元格和单元格内容之间的间隙 默认0
align
bgcolor
background
tr标签 表示一行
align 行内文字的水平对齐方式 left/center/right
valign 行内文字的垂直对齐方式 top/middle/bottom
height 行高度
bgcolor
td标签 表示单元格
align
valign
width
height
th标签 表头
属性 同 td
thead标签
tbody标签
tfoot 标签
caption标签 定义表格标题
colgroup/col
表单
form标签
action
method 值 get/post 默认get
target
enctype
input标签 单
name 属性
type 属性
text 默认 文本框
password 密码框
radio 单选框
checkbox 复选框
file 文件上传
submit 提交按钮
reset 重置按钮
button 普通按钮
p_w_picpath 把图片作为提交按钮样子 不推荐
hidden 隐藏域
value属性 默认值 type值不同vlaue的意义不一样
size 属性 控制输入框宽度 适用于 text/password
maxlength 属性 最大输入字符个数 适用与text/password
checked 属性 默认选中 适用于 radio/checkbox
readonly 只读 适用于text/password
disabled 表示不可用
button元素
type属性
submit(默认)
reset
button
select 标签
name
size
multiple 设置多选
disabed
option 标签
value
disabled
selected 默认选项
optgroup 对select下的option进行分组
textarea 文本域
name
disabled
rows 高度
cols 宽度
readonly
label
for 表单控件的ID