Welcome again to this new video.
The next few minutes are dedicated to creating forms.
HTML forms are one of the main points of interaction between the user and a website.
They allow users to send different type of data from website dated that most of the time is
Cento,
a Web server that has the function to receive and manage data.
An HTML form can be made off text fields,
buttons,
select boxes,
check boxes or radio buttons.
The main difference between HTML form and the simple HTML document is that the most of the
time the data collected by the form is sent to a Web server.
Like I said previously in that guy's unit set up Web server to receive and process the data
.
The proposed off this video is not to set up a Web server.
It's to learn out to create different types of farms using text fields,
submit buttons and radio buttons,
starting with the coat that helps you understand better out to create the farm.
The HTML form always start with Fordham Tech that represents a document section that
contains interactive controls to submit information to a Web server inside start and
closing form Tech is where we we insert the different elements.
The most popular element is the HTML input element that is used to create interactive
controls for Web based forms in order to accept data from the user,
There are different types off input elements like text fields,
radio buttons,
check boxes and others.
The first example to show uses two types off elements text fields to receive information
and a submit button.
Start writing my coat.
I create the start and end off section using the tech form.
The next step is to add the elements off the farm,
inserting input tech that there's an attribute called Type that receives the type off
elements in disguise.
I want a text field to rights,
so this element receives a value text.
The next afterward is the attribute name that I used to receive the name by which the value
in certain on the text field will be recognized for disguise.
I give the name attribute,
value my name.
The last action is right name before input tech to appears the steps before the insert text
field making an overview.
First i f an input element that is from type text and we'll receive a value that will be
recognized as my name in the browser is visible.
This in Patel Mint,
where we can write texts now it's time to create another similar element that receives the
age instead of name.
Just got beat the previous coat and now right age before input Tech and changed the name
attribute to my age to be recognized.
Now with this new name,
the less change to Mike is changed the type for him next to number because now in this
field,
I want to receive an age that is represented by a number to submit Now this farm we to
feels I have to put any put button.
I have to change the type from text to submit because now I have to submit information
required This input element as a value after route that receives debts,
death submit button shows.
I just want that appears text submit into button.
The browser show was now this tree input elements first receives text,
other numbers and for last one to confirm the inserted data,
you can see that the second field that receives numbers as arrows to increase and decrease
the number that you put on the field.
This situation is only possible because the field was defined as number and not text.
The final detail is address that you can see on the top off the page,
where you see denying attribute that I defined as my name and my age that are now receiving
the information that I write in the two fields.
My name received information wish and my age.
The number 35.
This is a clever waited into fight information that has been submitted in the farm.