fieldset
and legend
attributes taht are used along with form element.form uses some attributes:
a form element in a document works along with a submit button after gathering the information from users.it sends data after click event on submit button to the server.at this point the submit button is a simple submit button that only tells the form element that the work is done collecting the data from users and it's tim to send it to the server because click action has taken place.
submit can be done in two different ways:
here the submit button takes the followin g attributes in order to get a different submission other than the form's one:
form
attribut.even if that element is outside the form element tags using the id
as a value for form
attribute of that form.
submit buttons with differnt submission attributes also can take shared attributes like:
the only difference with type="button" or "image","submit" and "reset" is that button
can take html inside it.this opens a whole world off styling.
it takes the following: