Luckily, HTML5 has a quite interesting forms specification.
https://www.w3.org/TR/html5/sec-forms.html#sec-forms
Last updated 6 years ago