Now, I did mention that there are special HTML elements,
which you can use for building such a form and for fetching
that user input.
And of course, we're going to write code
in a couple of seconds and we're going to
explore those elements in code.
But I want to give you an overview of the
most important elements there right away.
And the most important HTML element
you will use all the time when fetching user input
will be the 'input' element.
And I guess the name makes a lot of sense,
because this element is all about
fetching user input, hence the name.
And here, I also already added
this 'type' attribute, because that will be
extremely important to configure
which kind of input we want to fetch.
Do we want to fetch plain text?
Do we want to fetch an email address?
Do we want to fetch a phone number?
You can configure different types of inputs
with that 'type' attribute.
Now, another very important form element
is the 'text area' HTML element.
That will be an element that allows us to fetch
multiline text input.
So where the 'input' element typically focuses on
short input, single line input,
the 'text area' field would be used if we, for example,
want to fetch the comment text,
or the feedback text a user provides to us.
Another important HTML element,
which we'll see in this course section,
will be the 'select' HTML element,
which we can use to build drop-downs to allow the user
to choose a value from multiple available values.
And then the last very important element
will be the 'button' element.
Where the first three elements are about the user
entering or selecting some values,
this button element is not about that,
but about confirming those values.
We need a button in basically any form so that the user is
able to confirm that input and submit that form.
Alternatively, what you will also see
in this course section, we can also add
reset buttons that will reset a form,
maybe in addition to the submit buttons.
But we are going to see all of that throughout
this course section, and therefore let's now
leave the theory and let's get our hands dirty,
and let's start creating some forms.