Forms are ubiquitous on the web. Any time you provide a username and password to log into a site, add a comment to a blog, or order anything online, you are filling out a form.
This section covers the HTML needed to create a form while touching on the principles of good form design. However, there are two important areas that we will need to leave unaddressed at this time:
Learners are often tempted to add more markup to their forms to make them “look better”. I know it is frustrating to create a form that doesn’t look the way you want it to, but please don’t add markup other than what you learn here. You’ll only be adding redundant or irrelevant tags that will get in the way when we add CSS to forms.