Hello and welcome to this lecture.
In this lecture shot will be create in a simple form.
So this is the form we have I'm going to walk you through.
Hi it was created.
This is the code responsible for this form so to create a form you need to indicate that we form a tag.
So this form tag has got an opening and closing.
Indicate that you are creating a form.
It tells a web browser that you are displaying a form.
So this is not the form element is used to define the form policemen's contain different types of input
elements like check boxes read your Button's submit buttons text area.
So these are some of the form elements.
So we are going to query for we I've already created a radio button.
So this is an input type that is called radio button that he type that he input and then a type of input.
The attributes you need to specify the type of input with the type attribute and value is read you and
it's like a button toggle.
So you can talk between the two and you need to give it another attribute which is a name and then you
specify the name tag specified the value filename to be sex.
That is the sex of the whether it's male or female.
And then the value is male check.
And then this then there's a break.
To put this on a separate line then next line inputs again the type is a radio hansis Radio name.
The value of the name is what sex is in.
Male or female the value is female.
So the second one so you can toggle between both of them.
This male here that's why you can read there.
The female bear.
That's it.
So if he cheats is there something else hit or the reflex here.
So this example here is how you create create your botan using the Input type.
If you notice is enclosed inside the form tag.
So live from attack and closes all this next see how to create this form.
This is another form.
This is also an input element.
The value is text.
Notice the value here hear the attribute here the value for this attribute here is you as you get ready
for Putten value for this attribute.
Type text is your input in a text and the name is the value.
So you need to give it a value name is there.
Hmm got a break and then the second input typed text again.
The name has name attribute has to have a value.
I like giving the value last name.
Last name.
Finally I have gotten the input type with the value of Submit the value submit as well.
So what.
What this form will do it will submit the data that is entered into it.
Normally you would think you need to specify where to submit to an action by not specified that in this
case.
If I type in something there
need date I will not go anywhere because I have not specified where to submit it to.
So this is how you create a simple form.
So in this lecture we I walked dutroux how to create a radio button form where then a radio input harlow's
or in normal form with a text value input.
Thank you so much for watching.
I hope the video has made sense.
You can play around with someone is values and then just see how your looks.
Thanks so much.
Bye for now.