can put 2 meta
tags in web page?
i want put:
<meta http-equiv="pragma" content="no-cache" />
so web page not cached
and:
<meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1" />
so web page ie-compatible.
yes, possible , valid (and of times necessary). basically, can have arbitrary number of them, long put of them head
section of website. additionally should watch out not have multiple meta
elements same concern.
please note full xhtml compliance second meta
missing closing /
. should be:
<meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1" />
so final code might be:
<meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1" />
please note well, order of meta
elements not arbitrary, or @ least there elements should pay attention order.
e.g., meta
element defines encoding should far @ beginning possible, since browser start re-rendering website approaches element.
Comments
Post a Comment