Comprehensive examples
Code Demo:
<fieldset> <legend>表单演示</legend> <form action="" method="POST" id="form1" oninput="output.value=parseInt(range.value)"> <input type="text" autofocus="autofocus" required pattern="\d+" name="auto" placeholder="必填项测试" /> <input type="number" name="demoNumber" min="1" max="100" step="2" /> <input type="email" placeholder="请输入邮箱" name="mail" /> <input type="url" name="url" placeholder="输入正确的网址" /> <br /> 日期:<input type="datetime" name="time" /> 颜色:<input type="color" name="color" /><br /> <br /> <input type="range" min="0" max="50" step="5" name="range" value="0" /> <output name="output">0</output> <br /> <input type="submit" value="提交表单" /> </form> 表单外的input标签: <input type="text" form="form1" name="demo" /> </fieldset>
new file
<fieldset>
<legend>表单演示</legend>
<form action="" method="POST" id="form1" oninput="output.value=parseInt(range.value)">
<input type="text" autofocus="autofocus" required pattern="\d+" name="auto" placeholder="必填项测试" />
<input type="number" name="demoNumber" min="1" max="100" step="2" />
<input type="email" placeholder="请输入邮箱" name="mail" />
<input type="url" name="url" placeholder="输入正确的网址" />
<br />
日期:<input type="datetime" name="time" />
颜色:<input type="color" name="color" /><br />
<br />
<input type="range" min="0" max="50" step="5" name="range" value="0" />
<output name="output">0</output>
<br />
<input type="submit" value="提交表单" />
</form>
表单外的input标签:
<input type="text" form="form1" name="demo" />
</fieldset>
Preview
Clear
- Course Recommendations
- Courseware download
The courseware is not available for download at the moment. The staff is currently organizing it. Please pay more attention to this course in the future~
Students who have watched this course are also learning
Let's briefly talk about starting a business in PHP
Quick introduction to web front-end development
Large-scale practical Tianlongbabu development of Mini version MVC framework imitating the encyclopedia website of embarrassing things
Getting Started with PHP Practical Development: PHP Quick Creation [Small Business Forum]
Login verification and classic message board
Computer network knowledge collection
Quick Start Node.JS Full Version
The front-end course that understands you best: HTML5/CSS3/ES6/NPM/Vue/...[Original]
Write your own PHP MVC framework (40 chapters in depth/big details/must read for newbies to advance)
















