+ 10

Img tag is necessary to have "/" at end ?

I don't get it. It is necessary or not / at the end of img tag? I attached a post for reference. Explain in details. Thanks in advance. https://www.sololearn.com/post/452390/?ref=app

29th Jun 2020, 2:33 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
7 Answers
+ 3
No it's not necessary but when we use XML svg tags like image, line , polyline they are also non closing tags but there it is mandatory to use / at the end .
29th Jun 2020, 3:14 AM
Ayush Kumar
Ayush Kumar - avatar
29th Jun 2020, 3:28 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
+ 4
F҉R҉O҉N҉T҉ 🔚& 🔙🔚/ 𝔸𝕣𝕕𝕦𝕚𝕟𝕠 Lover for the above question in post img with / is set as answer. Even first also right for that question
29th Jun 2020, 3:21 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
+ 4
Sofi thanks for the information.👍
29th Jun 2020, 5:56 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
+ 3
Yes it is not necessary but it is recommended AZHAGESAN S
29th Jun 2020, 3:25 AM
Ayush Kumar
Ayush Kumar - avatar
+ 3
<img src="">-true <img src=""/>-true But in SoloLearn <img src=""/>
29th Jun 2020, 4:36 AM
Սոֆի Մովսեսյան
+ 3
😉
29th Jun 2020, 6:39 AM
Սոֆի Մովսեսյան