<!DOCTYPE html><html lang="en"><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><div><form action="check.php" method="post"><label for="username">用户名:</label><input type="text " name="username" id="username" value="" autofocus placeholder="不能超过六位" required /></div><div><label for="pwd">密码: </label><input type="password" name="pwd" id="pwd" value="" required placeholder="字母+数字"></div><div><label for="myemail">邮箱: </label><input type="email" name="email" id="myemail" value="" required placeholder="@qq.com"></div><div><label for="male">性别: </label><input type="radio" id="male" name="sex" checked><label for="male">男</label><input type="radio" id="female" name="sex" ><label for="female">女</label></div><div><label for="">兴趣: </label><input type="checkbox" name="aihao[]" id="game" checked> <label for="game">王者</label><input type="checkbox" name="aihao[]" id="php"> <label for="php">php</label><input type="checkbox" name="aihao[]" id="youyon"checked> <label for="youyon">游泳</label></div><div><label for="city">城市: </label><select name="city" id="city"><option value="1" selected >广东</option><option value="2" >上海</option><option value="3">北京</option></select></div><!-- 多行文本框 --><textarea name="" id="" cols="30" rows="10" placeholder="请输入内容"></textarea><div><button>提交登录</button></div></form></body></html>

<!DOCTYPE html><html lang="en"><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><style>body {height: 100vh;width: 100vw;display: grid;grid-template-columns: 10em 1fr;grid-template-rows: 6em 1fr;margin: 0;}body .header {grid-column-end: span 2;border-bottom: 1px solid currentColor;background-color: #efe;padding: 2em;display: flex;align-items: center;}body .header div {margin-left: auto;}body .nav {background-color: #efc;margin: 0;padding-top: 1em;list-style: none;}body iframe {width: calc(100vw - 10em);height: calc(100vh - 6em);border-left: 1px solid currentColor;}</style></head><body><!-- 头部 --><div class="header"><h1>后台管理</h1><div><span>admin</span><a href="">退出</a></div></div><!-- 左侧导航 --><ur class="nav"><li><a href="1.html" target="content">菜单项1</a></li> <li><a href="2.html" target="content">菜单项2</a></li> <li><a href="3.html" target="content">菜单项3</a></li> <li><a href="4.html" target="content">菜单项4</a></li> </ur><!-- 右侧内容 --><iframe src="" frameborder="0" name="content"></iframe></body></html>

<h1>hello word</h1> 
<h1 style="color: red;">hello</h1> 
<h1>111</h1><h1>222</h1><style>h1{color: blue;}</style>

<link rel="stylesheet" href="style.css"><h1>555</h1>

<style>@import url(style.css);</style><h1>1111</h1>
<style>div{color: red;}</style><div><h1>66666</h1></div>

相关推荐
© 2020 asciim码
人生就是一场修行