Why is the order not img src... height width alt | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why is the order not img src... height width alt

but img src... height alt width?

14th Nov 2016, 1:58 PM
Philipp Loipolt
Philipp Loipolt - avatar
2 Answers
+ 2
You can place them in every order you want, but img is the tag name, you have to place it first.
15th Nov 2016, 9:50 AM
Gleb Golov
Gleb Golov - avatar
0
alt https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img <img> - HTML | MDN - Mozilla Developer Network
19th Jul 2017, 5:19 AM
Ajay Shinde