Why do browsers render tags?

15 hours ago 2
ARTICLE AD BOX

I've been playing with a domain-specific web crawler and have bumped into a website that occasionally uses the text <image src="…"> when they mean <img src="…"> - and browsers seem fine with that. I tested both Firefox and Chrome and they both render the page just fine, with the dev tools inspector actually showing the DOM element as <img>.

Firefox's source view actually marks the <image> tag with a red underscore and highlights it (which I think means "invalid HTML", I've seen this a couple of times before).

I've tried to search for what that means, but either there's no results for "HTML <image>" or the search engine pretends I said <img>. Quickly scouring Firefox source code I can't find where this is supported - I can only find references to SVG (where <image> is a thing, but it has a completely different API) or a couple of comments that talk about "HTML <image>" which look to me like a typo/wishful thinking.

So what gives?

Read Entire Article