<input> is used to collect user information and has no closing statement. <type>input element type, The type attribute of input, type attribute value: text (text box), button (button), checkbox (check box), file (file), hidden (hidden field), image (image), password (password box), radio (radio button), reset (reset button), submit (submit button). ![]() <textarea> defines a text area, ending </textarea>.textarea attributes: ![]() example: Copy code The code is as follows:<textarea rows="3" cols="30"> text... </textarea> <b>Bold, ending</b> <i>Italics, closing remarks</i> <u>Underline, closing remarks</u> Large fonts <small>Small font</small> <blink>Blinking effect</blink> <em>Usually italic, emphasized</em> <strong>Generally bold, emphasized</strong> <cite> is usually in italics and is used for citations and examples.</cite> Copy code The code is as follows:<html> <head> <title>Welcome to register/login</title> </head> <form name="form1" method="post" action=""> <P>Name: <input type="text" value="小神" size="20"> </P> </form> <form name="form2" method="post" action=""> <P>Password: <input value="123456" type="password" size="22"> </P> </form> <form name="form3" method="post" action=""> Single gender: <input name="gen" type="radio" class="input" value="男" checked> <img src="b.gif" width="23" height="21">Male <input name="gen" type="radio" class="input" value="女" > <img src="g.gif" width="23" height="21">Female Select hobbies: <label> <input type="checkbox" name=""value=""checked> </label>Chat <label> <input type="checkbox" name="" value=""> </label>Movies <label> <input type="checkbox" name="" value=""> </label>Games Date of Birth: <input name="byear" value="yyyy" size=4 maxlength=4 >Year <select name="bmon"> <option value=" " selected>[Select month] </option> <option value=0>January</option> <option value=1>February</option> <option value=2>March</option> <option value=3>April</option> </select>Month <input name="bday" value="dd" size=2 maxlength=2 >Day <div class="left"> <span class="spanTxt">Enter the number in the right picture to verify</span>: <span class="shortInputSpan"><input type="text" class="short_input" name="validatecode" id="validatecode" maxlength="4" onFocus="textshow(this,'Please enter the verification code correctly');"/></span> <span class="h1"> <img id="vcode" name="vcode" alt="" src="help_alarm.jpg" height="28" width="63" align="absmiddle"/><a href="javascript:changeimg();" class="code_style">Can't see clearly, change one</a> </span> </div> </form> <form> <input type="checkbox" id="chkagreement" name="chkagreement" checked="checked"/> Accept <a href="小神幻化成.html" target="_blank" >《XXX Registration Agreement》</a> </form> <form name="form7" method="post" action=""> <textarea name="textarea" cols="35" rows="6">Welcome to read this Terms of Service Agreement. The terms and conditions set forth in this agreement apply to your use of XXX's services. This service agreement is for me, you, and him. This service agreement has contractual effect. my rights and obligations </textarea> </form> </html> |
<<: Web front-end development experience summary
>>: Implementation of the list-style-type attribute in front of CSS ordered or unordered lists
Table of contents Vue CLI builds a Vue project Vu...
Since my local MySQL version is relatively low, I...
Table of contents 1. Introduction 2. Simple epoll...
1. The significance of persistent statistical inf...
Table of contents 2. Stack analysis using pt-pmap...
The question arises This question arose when I wa...
MySql batch insert optimization Sql execution eff...
Table of contents The cause of the incident Anato...
Table of contents The creation and confusion of n...
WeChat applet trajectory playback mainly uses pol...
HTML validate refers to HTML validation. It is the...
Query Rewrite Plugin As of MySQL 5.7.6, MySQL Ser...
Table of contents Preface 1. Technical Principle ...
Introduction to sudo authority delegation su swit...
In web page production, input and img are often pl...