Html5 Form Attributes
* * *
## HTML5 New Form Attributes
HTML5 has added several new attributes to the `
```
[Try it Yourself Β»](
**Tip:** In some browsers, you may need to enable the auto-complete feature for this attribute to take effect.
* * *
## The `
```
[Try it Yourself Β»](
* * *
## The `` `autofocus` Attribute
The `autofocus` attribute is a boolean attribute.
It specifies that the input field should automatically receive focus when the page loads.
.
It overrides the `enctype` attribute of the `
```
[Try it Yourself Β»](
* * *
## The `` `formmethod` Attribute
The `formmethod` attribute defines how the form will be submitted.
It overrides the `method` attribute of the `
YouTip