A built-in element serves as a storage for HTML markup templates. form > Now if we want to get the form element the #myInput belongs to we can do this: const input = document. This interface also inherits properties from its parent, HTMLElement. Form Validation. But there’s still an interesting thing. Go to any popular site with a registration form, and you will notice that they provide feedback when you don't enter your data in the format they are expecting. Returns the element in