'How this HTML code works if there is no end tag of "input"?

This is the HTML screenshot of flipkart sign in:

enter image description here

<form autocomplete="on" xpath="1">
  <div class="IiD88i _351hSN">
     <input  class="_2IX_2- VJZDxU" autocomplete="off" type="text" value="">
     <span class="_36T8XR"></span>
     <label class = "_1fqY3P"></label>
  </div>

How this HTML code works if there is no end tag of "input"?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source