This page is about browser native form validation in HTML.
The javascript counterpart is called the constraint validation API 1).
In short, you set:
that constrain the possible value of form elements.
Check email
Type:
Attributes:
HTML validation has its limitations.
If an input is invalid, the :invalid pseudo-class is applied to the input element.