David Imeh
last month
Davidcountry asked

Why does the input in this case having an ending tag (/>) ??

A
Expert
last month
Abhay Jajodia answered

So when you see something like , that little / just means the tag is self-closing — it doesn’t need an end tag like .

But guess what? Starting with HTML5, you don’t even need the / anymore. You can just write:




And it works the same! Super simple. 👍

HTML
This question was asked as part of the Learn HTML course.