Search code examples
htmloperaheadmeta

meta http-equiv outside of head?


I've been always accustomed to see meta tags inside of head. The new Opera 12.12 takes this meta out of head while saving a page:

<!DOCTYPE html>
<html dir="ltr" lang="pl-PL">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<head>

is this an affordable thing or a bug in Opera?

Update for Jukka K. Korpela

The page has following URL: http://www.espeo.pl/2012/02/26/authentication-in-angularjs-application and I save it as "HTML file with images".


Solution

  • This link should help you find the answer:

    http://www.w3.org/TR/html401/struct/global.html#h-7.4.4.1

    also according to w3schools(which cant be taken as a genuine spec): "Note: <meta> tags always goes inside the <head> element."