<img> versus <img /> | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren

<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 - avatar
1 Antwort
18th Jul 2020, 9:43 PM
Ali Abdelhady
Ali Abdelhady - avatar