| Be My Friend

Previous

Next


What is HTML Form?

HTML Forms | Why HTML Forms? | HTML Forms Examples | HTML Form Tags

An HTML form is a section of a document that contains controls like text fields, radio buttons, checkboxes, submit buttons, file select boxes, etc.

If you want to collect some data from your site users or visitors you need HTML forms.

Why HTML Forms?

In simple words, HTML forms are used to collect information from site visitors and they will be processed or stored using backend applications or scripts like PHP, ASP, etc.

For example, using HTML forms you can collect your website visitors names, email id, addresses, mobile numbers, etc.

The HTML <form> element is used to create an HTML form.

HTML Forms Examples



HTML Form Tags

Below are some of the HTML 5 form tags.

Tag Description
<form>This tag defines an HTML form to enter inputs by user.
<input>This tag defines an input control. it can be used in many ways depending on the type of attribute.
<textarea>This tag defines multi-line input control.
<label>This tag defines a label for many form elements.
<select>This tag defines a drop-down list.
<button>This tag defines a clickable button.
<option>This tag defines an option in a drop-down list.

HTML Registration Form Example.

Following is an example of an HTML form for registration.



In future HTML Tutorials we will discuss in detail about HTML forms.

IF YOU LIKE OUR HTML TUTORIALS PLEASE DON'T FORGET TO SHARE

Subscribe for more videos on our Youtube channel. if you like our tutorial please Like and Subscribe to our Facebook and Youtube.



Previous

Next



YOUR COMMENTS ARE MOST IMPORTANT TO US:

0 Comments



Why basictutorials.in?

To Learn:

Tutorials in a simple Way.

Excel with downloadable samples.

HTML with sample website code.

PowerPoint presentations.

MS Word for offical use.

Useful Tutorials