实例
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>注册页面</title> </head> <body> <h2>用户注册</h2> <form action="check.php" method="post" ></form> <div> <label for="uname">用户名:</label> <input type="text" maxlength="6" id="uname" name="usesname" placeholder="用户名不能为空" autofocus > </div> <div> <label for="psw">密码</label> <input type="password" id="psw" name="password" placeholder="密码不能为空" maxlength="11"> <button>查看密码</button> </div> <div> <label for="secret">性别:</label> <label for="male">男</label> <input type="radio" id="male" name="nand" value="male"> <label for="female">女</label> <input type="radio" id="female" name="nand" value="female"> <label for="secret">保密</label> <input type="radio" id="secret" name="nand" value="secret" checked > </div> <div> <label for="">爱好:</label> <input type="checkbox" id="game" name="hobby[]"> <label for="game">游戏</label> <input type="checkbox" id="trave" name="hobby[]"> <label for="trave">旅游</label> <input type="checkbox" id="shoot" name="hobby[]"> <label for="shoot">摄影</label> </div> <div> <label for="">所在城市:</label> <select name="home" id=""> <option value="0" selected disabled>--请选择--</option> <option value="1">北京</option> <option value="2">四川</option> <option value="3">广东</option> <option value="4">台湾</option> <option value="5">上海</option> <option value="6">深圳</option> </select> <label for="">学历:</label> <select name="edu" id=""> <option value="0" selected disabled>--请选择--</option> <option value="1">高中</option> <option value="2">大专</option> <option value="3">本科</option> <option value="4">研究生</option> <option value="5">博士研究生</option> </select> </div> <div> <button>提交注册</button> </div> </body> </html>
运行实例 »
点击 "运行实例" 按钮查看在线实例
实例
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>澳门赌场</title> </head> <body> <ul> <li><a href="https://baike.baidu.com/" target="content">百度百科</a></li> <li><a href="http://qqgame.symnq2022.com/qqyxdt/qqyxdt1/?bd_vid=11854290844582753470" target="content">腾讯游戏</a></li> <li><a href="https://baike.baidu.com/" target="content">淘宝首页</a></li> <li><a href="https://baike.baidu.com/" target="content">京东购物</a> </li> </ul> <iframe frameborder="1" name="content" width="600" height="600"></iframe> <video src="文件\8c460c9d62059bf07e93050cf103442a.mp4" width="600" controls></video> </body> </html>
运行实例 »
点击 "运行实例" 按钮查看在线实例