This page is a breakdown of the<input> tag
WHERE: This tag is put inside of the body tag as content.
USE: To make a type of input
CAN BE TARGETED IN CSS: Yes
<form action="action.php" method="GET">
<input type="text" name="text1">
<input type="text" name="text2">
<input type="text" name="text3">
<buttom type="submit" name="button-submit">Submit</button>
A form tag can really contain any element,
but some actually effect the forms submission.
Those elements are:
There are also key attributes that all forms need,
which are themethod and theaction attributes.
The method attribute specifies how the data is going to be sent.
There are 2 types of methods, POST and GET.
Post should be used for sensitive data or other types of data that shouldn't be accessed easily (File upload, login/signup etc)
Get should be used for stuff that is easily accessible, such as a search.
Get types, you can see in the URL, like the form displayed above. Post types are hidden.
Default CSS Settings: