html - what are some meta tags that are being used with html5? -
i new doctype being used
<!doctype html>
and utf-8
<meta charset="utf-8">
what few others being used under html5 based on experiences? wondering if new doctype html takes care of doctype guess being used? how , when use charset rather utf-8 ? thanks
the doctype works because browsers don't care doctype use , never followed url, check document specifies @ least don't render in quirks mode. if you're using xhtml5 serialisation can provide url used to, though you're unlikely use xhtml5 in real world.
you don't want create new pages in utf8, if have data encoded separately , can't/won't convert utf8 can specify different encoding <meta charset="charsetname">
charsetname alias or name registered iana
the spec lists meta tags can use. main 1 still <meta name="description" value="this page foo">
Comments
Post a Comment