In order that you never go to W3Schools (never go there), here is a basic cheat sheet for writing simple HTML forms.
This is culled from a few sources, [the most important being MDN][MDN]. MDN (the Mozilla Developer Network) should be seen as "the docs" when you are having an issue with HTML.