HTML Form
An HTML Form have input elements like text fields, password fields, checkboxe, radio-buttons, submit buttons and many more.
Eg.
<form method="get" action="page_url">
Enter your name<input type="text"/>
Enter your email<input type="email"/>
<input type="submit"/>
</form>
HTML Text_Field
Eg.
<form method="get" action="page_url">
Enter your name<input type="text"/>
</form>
HTML Emai_Field
Eg.
<form method="get" action="page_url">
Enter your email<input type="email"/>
</form>
HTML Password_Field
Eg.
<form method="get" action="page_url">
Enter your password<input type="password"/>
</form>
HTML Radio Button
Eg.
<form method="get" action="page_url">
Gender
Male :<input type="radio" name="rad" value="0"/>
Female :<input type="radio" name="rad" value="1"/>
</form>
HTML Checkbox
Eg.
<form method="get" action="page_url">
Hobby
Singing :<input type="checkbox" name="ck1" />
Dancing :<input type="checkbox" name="ck2" />
Reading :<input type="checkbox" name="ck3" />
</form>
HTML Select (Dropdown)
Eg.
<form method="get" action="page_url"> Country: <select> <option selected="selected" disabled="disabled" >select the country</option>
<option>India</option>
<option>China</option>
<option>America</option>
</select> </form>
HTML File upload
Eg.
<form method="get" action="page_url">
Upload Resume:
<input type="file" name="file_name" />
</form>
No comments:
Post a Comment