Questions tagged [http-equiv]

The 'http-equiv' attribute for the HTML 'meta' element makes the element a pragma directive that as the same effect as whatever HTTP header has the same name as the attribute’s value; e.g., Content-Type or Content-Security-Policy.

See https://html.spec.whatwg.org/multipage/semantics.html#pragma-directives

48 questions
0
votes
1 answer

How to redirect a google blog page....unless it is being contained in an iframe?

So I have a google blog page which I would like to redirect to my page which I have an iframe of my google blog page. When I put the following code in, it redirects to my page containing the iframe:
0
votes
1 answer

adding the current url as param to the redirect url in meta tag using jstl tags

On a page i am redirecting the user to another page in the meta tag pf my page. Now i want to add the current page url as a param to the redirect url so that it becomes url =…
ghostCoder
  • 1
  • 9
  • 49
  • 72
-1
votes
1 answer

Why should name attribute not be set if http-equiv is set in meta tag?

I am stuck on one sentence while reading about meta tag in html that "If the http-equiv attribute is set, the name attribute should not be set" . I've done search about this but I couldn't find any reason behind this. Would anyone tell the reason…
Vikas Verma
  • 3,626
  • 6
  • 27
  • 40
1 2 3
4