HTML<二>
iframe内联框架
1. <iframe src='' 跳转路径'' > </iframe>
2.<iframe name=''绑定a标签中的target属性中的值'' > </iframe>
表单标签
<form action="跳转请求的的路径" method="提交方式">
文本输入框格式: 注册名:<input type="text"> </form>
input的基本属性:type属性类型,name:表单数据进行标识,size:文本框长度,value :默认值,maxlength:最大字符数
单选框:<input type="radio" value="box" name="sex">男<input type="radio" value="girl" name="sex">女 name的属性必须保持一致代表在一个分组中
多选框:<input type="checkbox" value="box" name="hobby">男<input type="radio" value="checkbox" name="hobby">女 name的属性保持一致代表一个分组
按钮:<input type="button" name="bt" value="按钮">
下拉框:国家:<select name="列表名称"><option value="china">中国</option></select>
文件域:<input type="file" name="files">
文本域: <textarea name=" textarea " cols="宽" rows="高">文本内容</textarea >
邮箱验证:<input type="email" name="email">
URL:<input type="url" name="url">
数字:<input type="number" name="number" max="110" min="0" step="1">
音量:<input type="range" name="number" max="110" min="0" step="1">
搜索:<input type="search" name="search" >
鼠标可用性:<label for="uid" ><input type="email" name="email" id="uid">
disabled 禁用 readonly 只读 hidden 隐藏 placeholder="提示信息" required 非空 pattern="正则表达式判断"

浙公网安备 33010602011771号