HTML表单操作的记录
2024-10-10 11:10:49
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>Document</title>
</head>
<body>
<form action = "b.html" method = "post">
姓名:<input type = "text" name = "" size = "50" maxlength = "5" readonly disabled value = "请输入姓名"><br>
密码:<input type = "password" name = "pass" ><br>
隐藏框:<input type = "hidden" name = "age" value = 20><br>
性别:<input type = "radio" name = "sex" checked value = "male" >男<input type = "radio" name = "sex" value = "female">女<br>
国籍:<input type = "radio" name = "country" value = "中国">中国<input type = "radio" name = "country" checked value = "美国">美国
<input type = "radio" name = "country">日本<br>
爱好:<input type = "checkbox" name = "love" checked value = "足球"> 足球
<input type = "checkbox" name = "love">排球
<input type = "checkbox" name = "love">篮球<br>
学历:<select multiple name = "xueli">
<option value = "daxue">大学</option>
<option value = "zhongxue">中学</option>
<option value = "xiaoxue" selected>小学</option>
</select><br>
备注: <textarea cols = "20" rows = "5" name = "beizhu">大虾留下你的脚印吧</textarea>
普通按钮:<input type = "button" value = "普通按钮" onclick = "alert('哈哈,我来了')">
提交按钮:<input type = "submit" value = "提交按钮" >
重置按钮:<input type = "reset" value = "重值按钮">
图片按钮:<input type = "image" src = "image/1.jpg" width = "30" height = "30">
</form>
</body>
</html>
最新文章
- 细说php一些常见的知识点
- oracle免客户端安装 plsql连接
- Python——函数的命名关键字参数
- Code[VS]1690 开关灯 题解
- 小米2成功使用google组件的办法(为了coc游戏能登录google账户)
- loj 1013(LCS+记忆化搜索)
- 再论 ASP.NET 中获取客户端IP地址
- HDU 1150 Machine Schedule
- Maven管理Android项目1
- 阿里云ECS-Nginx阿里云客户端IP日志记录
- iOS 生成随机字符串 从指定字符串随机产生n个长度的新字符串
- ZOJ 2314 Reactor Cooling [无源汇上下界网络流]
- 重载equals方法时要遵守的通用约定--自反性,对称性,传递性,一致性,非空性
- 第二届强网杯部分writeup
- Spring Batch(三) Job Launcher、ItemReader、ItemProcessor、ItemWriter各个实现类和用途
- byte转bit
- Oracle spatial、openlayers、geoserver开发地理信息系统总结
- windows bat发布成服务
- Hybrid App 开发初探:使用 WebView 装载页面
- laravel日志:
热门文章
- 【Android Developers Training】 54. 打印自定义文档
- 【Android Developers Training】 53. 打印HTML文档
- Python实现浏览器自动化操作
- Java 时钟
- maven工程中pom.xml的错误
- 对于所有对象都通用方法的解读(Effective Java 第二章)
- SQL server数据库备份还原问题备忘(亲测有效)
- c#通用配置文件读写类(xml,ini,json)
- Selenium webdriver定位iframe里面元素两种方法
- ConcurrentLinkedQueue 源码 since java1.5