+ 1

Is it necessary to use a forward slash at the end inside the img tag?

<img src=" " alt=" ">

18th Jul 2020, 1:21 PM
ANJALI PATHAK
ANJALI PATHAK - avatar
7 Respostas
+ 1
ANJALI PATHAK But it's not necessary to use / at the end
18th Jul 2020, 1:40 PM
Navneet KaurđŸ’«
Navneet KaurđŸ’« - avatar
+ 4
Since HTML5, it is not necessary.
18th Jul 2020, 1:21 PM
Ore
Ore - avatar
+ 1
Best way is "try to check ones by executing with and without tags" and observe differences.. You find side effects if any or not..
18th Jul 2020, 1:34 PM
Jayakrishna 🇼🇳
+ 1
The best way to check is code by yourself by executing it with and without slash ...
18th Jul 2020, 1:37 PM
Navneet KaurđŸ’«
Navneet KaurđŸ’« - avatar
+ 1
Thank you so much guys for all your answers & helpâ˜ș
18th Jul 2020, 1:44 PM
ANJALI PATHAK
ANJALI PATHAK - avatar
+ 1
You're welcome.. Happy coding..
18th Jul 2020, 2:09 PM
Jayakrishna 🇼🇳
0
ANJALI PATHAK wlcm dude😇😇
18th Jul 2020, 1:44 PM
Navneet KaurđŸ’«
Navneet KaurđŸ’« - avatar