Why some of the elements have not end tag ?what is the reason behind them | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why some of the elements have not end tag ?what is the reason behind them

21st Sep 2021, 12:19 PM
Yogesh Waran
Yogesh Waran - avatar
1 Answer
+ 2
Yogesh Waran bcz these tags does not contain any content, or data, (like img, br) they built for a particular work, for example- img will only contain address of IMG, but other tags like- div, p,heading tags contains content.. https://www.sololearn.com/Discuss/2285184/?ref=app
21st Sep 2021, 12:47 PM
Rupali Haldiya
Rupali Haldiya - avatar