David
asked

Expert
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.
Our Experts
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer