2020/4/13 html ifarm 以及input知识
1.表格样式标签 水平对齐=aligin 垂直对齐=valigin-->
2.-框架标签 不加body-->
<html>
<frameset cols(垂直) rows(水平)=X%,y%>
<frame src="xxx">
<frame src="xxx">
<noframes>不支持时显示内容</noframes>
</frame>
<!--内联框架 iframe-->
<body>
<iframe src="xxxx">
</iframe>
</body>
<!--_parernt 副窗口打开 _top 最顶层打开-->
3.-表单标签-->
<文本标签> <form action="">框选标签 所有代码写入这里面,不占空间
<input type="text" name="" id=""> 文本
<input type="password" name="" id="">密码
<--表单单选标签-->
<input type="radio checked(默认)" name="" id="">单选
<--多选标签-->
<input type="checkbox" name="" id="">复选框
<input type="button" value="按钮">
<--下拉框-->
<select name=""id="">
<option value=""></option>
<--文本域-->
<textarea name="" id="" cols="30" rows="10"></textarea>
<--文件上传-->
<input type="file"
<--文件提交-->
<input type="submit" value="提交">
<input type="reset" value="重置">
默认属性单选复选在ridio、checkbox+ checked
文本框直接键入value 下拉option+selectd
只读 value+readonly 不能使用disabled
required 审查
<input type="range" name="" id="">
<input type="date" name="" id="">日期
<input type="email" name="" id="">邮件
<input type="tel" name="" id="">电话
posted on 2020-04-13 15:57 vermouthmo 阅读(389) 评论(0) 收藏 举报
浙公网安备 33010602011771号