Thursday, July 21, 2022 at 3:35 PM
The tag works with IE 5+ (from the 90s). IE wanted to support people who didn't use quotes in their <meta> tag. Like this : <meta http-equiv=content-type content=text/html; charset=utf-8> As you can see, the charset is on the <meta> tag instead of being in the content="" attribute. My guess is that IE looks for a charset="" attribute and uses it if found. Otherwise it goes down the http-equiv="" path. I'm pretty sure HTML5 chose the <meta charset> because it is already compatible with very old browsers.