0

Self closing tags? But why?

There are some tags in HTML that are self-closing.. can anyone tell me why is that so??? (Need appropriate answer):-)

7th Mar 2022, 5:41 PM
Prince Ash 🇵🇰
Prince Ash 🇵🇰 - avatar
2 ответов
+ 2
self-closing elements are not in pairs because in most cases of we do not write content in it , as we do in <p>This is content</p> unlike <img>This is content.? Hope my answer will be satisfying to? A'nt it
7th Mar 2022, 5:51 PM
Prince Ash 🇵🇰
Prince Ash 🇵🇰 - avatar