how to create simple form in html

=> open ur text editer :-

=> And save it as form.html and write below code:-

<html>
<body>
<form>

Name <br/>
<input type="text" size="30" value="ABC">
<br/><br/>

Password <br/>
<input type="password" >
<br/><br/>

Phone<br/>
<input type="tel" name="Phone" maxlength="10">
<br/><br/>

Gender
<input type="radio" name="gender" value="M" checked>Male
<input type="radio" name="gender" value="F">Female
<br/><br/>

Language
<input type="checkbox" checked>English
<input type="checkbox">Hindi
<br/><br/>

Eduction
<Select>
<option>Graduation</option>
<option selected>Post Graduation</option>
</Select>
<br/><br/>

Address <br/>
<textarea rows="5" cols="30" style="resize: none;"></textarea>
<br/><br/>

Image<br/>
<input type="file">
<br/><br/>

<input type="button" value="Button">
<input type="reset" value="Reset">
<input type="submit" value="Submit Form">
</form>
</body>
</html>

=>then run on ur browser.

=>if u download source code then click on below link :-

Download Source Code

Comments

Post a Comment

Popular posts from this blog

How to create simple biodata form in html

How to use Height and Width property in HTML using CSS