Question: do input tags need to be closed?
Answer: These are the following: html, head, body, p, dt, dd, li, option, thead, th, tbody, tr, td, tfoot, colgroup . There are also tags that are forbidden to be closed: img, input, br, hr, meta, etc. ... For mobile users and browsers that can easily parse these pages, it is not necessary to close the tags.