加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index6.html 3.20 KB
一键复制 编辑 原始数据 按行查看 历史
Lfj 提交于 2020-03-11 11:30 . 第九到十章
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form method="POST" action="http://www.qq.com" target="_blank" autocomplete="off">
<button>提交</button>
</form>
<input name="user" autofocus disabled autocomplete="off">
<form method="GET" id="register">
...
</form>
<input name="email" form="register">
<p><label for="user">用户名: <input id="user" name="user"></label></p>
<fieldset>....</fieldset>
<fieldset>
<legend>注册表</legend>
</fieldset>
<button type="submit">提交</button>
<button type="reset">重置</button>
<button type="button">按钮</button>
<button type="submit" form="register">提交</button>
<br>
<br>
<input type="text" size="50" maxlength="10" value="初始值" >
<input type="text" placeholder="请输入内容">
<input list="footlist">
<datalist id="footlist">
<option value="苹果">苹果</option>
<option value="桔子">桔子</option>
<option value="香蕉">香蕉</option>
<option value="梨子"></option>
</datalist>
<input type="text" readonly>
<input type="text" disabled>
<br>
<input type="password">
<br>
<input type="search">
<br>
<input type="number">
<input type="range">
<input type="number" step="2" min="10" max="100">
<br>
<input type="date">
<input type="month">
<input type="time">
<input type="week">
<input type="datetime">
<input type="datetime-local">
<br>
<input type="color">
音乐<input type="checkbox">
体育<input type="checkbox">
<input type="radio" name="sex" value="男">
<input type="radio" name="sex" value="女">
<input type="checkbox" name="music" checked value="1">
<br>
<input type="submit">
<input type="image" src="/include/t01745de5551d56a303.webp.jpg">
<input type="email">
<input type="tel">
<input type="url">
<br>
<input type="hidden">
<input type="file" >
<br>
<select name="fruit" size="2" multiple>
<option value="1">苹果</option>
<option value="2">橘子</option>
<option value="3">香蕉</option>
</select>
<option value="2" selected>橘子</option>
<br>
<optgroup label="水果类">
<option value="1">苹果</option>
<option value="2" selected>橘子</option>
<option value="3" label="香蕉">香蕉</option>
</optgroup>
<br>
<textarea name="conyent">请留下您的建议!</textarea>
<textarea name="content"cols="30" rows="20" wrap="hard"></textarea>
<br>
<form oninput="res.value=num1.valueAsNumber * nu2.valueAsNumber">
<input type="number" id="num1"> *<input type="number" id="num2">
<output for="num1 num2" name="res"></output>
</form>
<input type="text" required>
<input type="number" min="10" max="100">
<br>
<input type="text" placeholder="请输入区号+座机" required
pattern="^[\d]{2,4}\-[\d]{6,8}$">
<form action="http://li.cc" novalidate>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化