1.表格:
<table border = "1px" width = "500xp" borderColor = "green" style = "border-collapse:collapse">
<tr>行
<td>单个单元格
<th>表头单元格
</table>
width 表格边框
borderColor 边框颜色
style 边框风格
rowspan = "5" 行合并
colspan = "3" 列合并
2.表单
<form action = "提交的地址" post = "post/get">
post :提交的方式
<input type = "text" id = "jugg" name = "hero" class = "player" placeHolder = "请输入内容" />
其中,type = "text"; 可视化文本
type = "password"; 密码
type = "file"; 要上传的文件
type = "dote"; 日期
type = "redio"; 单选 ,使用时name要一致,默认的选择项是checked
type = "checkbox"; 多选 ,使用时name要一致,默认的选项是checked,name值后一般加中括号
type = "hidden"; 隐藏区域,一般用于文件上传时,告诉服务器文件的大小
type = "button"; 按钮
type = "submit" 提交
type = "reset" 数据重置
<select >
<option selected> 下拉菜单<option>
</select>
<textarea rows = "行宽" cols = "列高">
</textarea>
单选框和文字一起被选中示例:
<input type = "radio" name = "sex" id = "nan" value = "1" checked />
<lable for = "nan">男</lable>
<input type = "radio" name = "sex" id = "nv" value = "2" / >
<lable for = "nv">女</lable>