0

<img> versus <img />

Hi! I learned some HTML years ago and I am used to the tag <img> for images; however, this module references the tag as <img />. Is there a reason for this? I also noticed it with <br /> or as I knew it <br>. I am not trying to be obtuse, but I am curious if something has changed recently with HTML or if Sololearn does this to signify that these type of tags do not need separate open and close tags.

18th Jul 2020, 9:00 PM
ALHazeltine
ALHazeltine - avatar
1 Answer
18th Jul 2020, 9:43 PM
Ali Abdelhady
Ali Abdelhady - avatar