Something I want to mention is that <input> elements are known as "void" elements.

This means they aren't designed to contain text or other elements, and as such do not need — and in fact, cannot have — a closing tag in HTML.

The implication is that the start tag for such an element acts as the closing tag, too. Software that processes HTML documents is expected to know from the Document Type Definition (DTD) which tags have this property.

So what happens if you mistakenly use an end tag like </input>? Well, it will be invalid, but likely nothing will happen because browsers will usually just skip an unrecognized end tag (in other words, it won't crash your site).