user1723760
user1723760

Reputation: 1207

can I combine meta or do I have to use only one?

I used to use this meta:

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

Now I want to change meta so that compatibility view in IE9 is disabled:

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

Now I don't understand much bout the first meta but my question is that can I only use one of the meta out of the two or can I combine them to include both of them? Which way would you recommend?

Upvotes: 0

Views: 65

Answers (2)

tim.baker
tim.baker

Reputation: 3307

If I am right in saying, you're question is actually "Whats the best way to do it, in terms of minimizing page size and improving site quality?"

As far as I know each META tag like that must be declared separately, because you are declaring 1 value for each.

Upvotes: 2

SLaks
SLaks

Reputation: 887449

You can have as many <meta> tags as you want.

Upvotes: 2

Related Questions