Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified meta charset and viewport tags
Cut down on some cargo-culting :-) No need for the viewport tag to forbid user scaling. `width=device-width` is also optional these days, as mobile browsers just do the right thing by default.[1][2] Only initial-scale is required. [1]: h5bp/html5-boilerplate#1099 [2]: GoogleChrome/lighthouse#641 (comment) (Note also no need for `HandHeldFriendly` meta tag, since that was only for some old Blackberry devices, no need for `MobileOptimized` since that was only for very old versions of Windows Mobile, and no need for a `X-UA-Compatible` tag since IE will automtically render in Standards Mode when a valid <!doctype> is present and the user hasn’t set any browser options to always render in compatibility mode.) While I was there, I tidied up the charset tag too, although we serve theyworkforyou.com with a charset HTTP header, so most browsers will ignore this in-page tag anyway. Part of #1421.
- Loading branch information