Imrich Repka
Imrich Repka

Reputation: 5

html tag <img> and <image>

I have one little question. I code the web page and use the <image> tag. The web page is tuned in Edge browser and everything is OK. The browser recognizes that I want to use the image and apply CSS properties. But when I open Chrome or Opera, the images will appear but the browser can not apply CSS properties. Why are not my browsers able to apply CSS properties? When I change the <image> tag to <img>, it's all right.

Upvotes: 0

Views: 1146

Answers (2)

zbys
zbys

Reputation: 463

Stick with the <img> tag and it should work.

Upvotes: 1

Quentin
Quentin

Reputation: 943152

See MDN:

The obsolete HTML Image element (<image>) is an obsolete remnant of an ancient version of HTML lost in the mists of time; use the standard <img> element instead. Seriously, the specification even literally uses the words "Don't ask" when describing this element.

Upvotes: 1

Related Questions