Forms are created with the form element. The action attribute is the URL of the page that will process the form. The method attribute is either get or post. The get method is used for forms that don't change anything on the server, for example a search form. The post method is used for forms that do change something on the server, for example a login form.