You are on page 1of 2

FORM COMMANDS IN HTML

<html> <head> <form acion="#">

Enter Name : <input type="text" name="user" maxlength="10"/><br/> <br/> Enter password : <input type="password" name="pass" maxlength="20"/><br/> <br/>

<input type="radio" value="J2SE" name="course">J2SE<br/> <input type="radio" value="J2ME" name="course">J2ME<br/> <input type="radio" value="J2EE" name="course">J2EE<br/> <br/>

Select City : <select> <option>Delhi</option>> <option>Mumbai</option> <option>Banglore</option> <option>Hyderabad</option> </select> <br/>

Select Languages : <br/><select multiple="true"> <option>English</option> <option>Hindi</option> <option>Sanskrit</option> <option>German</option> </select> <br/>

Upload Photo : <input type="file"> <br/>

<input type="checkbox" value="C#" name="lang1">JAVA<br/> <input type="checkbox" value="JAVA" name="lang1">C#<br/> <input type="checkbox" value=".NET" name="lang1">.NET<br/> <br/>

<input type="image" src="tiger2.bmp" height="200px" width="300px"/> <br/><br/>

<input type="submit" value="Create Account"/> <input type="reset" value="Clear"/> <br/><br/>

<input type="button" value="CLICK ME"> <br/><br/>

<pre>

GOOD-BYE

</pre>

<hr align="left" size="20px" width="500px" noshade/> <br/><br/>

</form> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body>

</body> </html>

You might also like