RSteinwand wrote:How important is it to check for missing metatags?
I think what is being suggested is to check the given meta tags for known http-equiv values. If a value is unknown, then
CSE HTML Validator could display a warning message. This wouldn't be too hard to do if there was a good source for common and correct values that I could use for the check.
Does anyone have any suggestion of where to obtain such a list of common and valid http-equiv values so that I could add such a check? I coudl potentially see this causing more problems than it helping if it generates too many false positives, so I'd need a very good list.
RSteinwand wrote:I always add these, but I bet the page works just fine 99+% of the time without them:
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
Those shouldn't be that important at all because the default style-type and script-type are already those. The content-type including encoding is best to set through the web server using HTTP headers but in case there is an issue, the "content-type" might come in handy to the browser or user-agent to help it determine the correct encoding... so I might drop all those meta tags except for the "content-type", but this is just my "educated guess".