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
1
vote
0 answers

cURL and http-equiv="refresh"

thanks for help.. I'm using cURL for submit via POST a PHP file $curl = curl_init(); // Set some options - we are passing in a useragent too here curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_URL =>…
Joe
  • 145
  • 1
  • 1
  • 11
1
vote
0 answers

My WordPress site auto-redirects to another site

I have one site that is auto-redirecting to another site that I don't know. dreamangelfashion.com is my site, when I open it will redirect to http://queakshopgreet.com. I have looked at header and index files and I didn't find anything. When I…
Bhavik Hirani
  • 1,996
  • 4
  • 28
  • 46
1
vote
1 answer

Javascript equivalent of http-equiv redirect

What is the equivalent of these two meta tags: In JavaScript?
user6415946
1
vote
0 answers

How to use http-equiv and name attribute at the same time?

I was researching about meta tags in HTML and I ended up on a website that suggested that I don't set the name and htt-equiv attribute at the same time. I read somewhere that if I need to support IE8 OR IE9 then it's recommended to use the…
Gloire
  • 1,103
  • 3
  • 17
  • 26
1
vote
1 answer

HTML: Opposite of http-equiv=expires and http-equiv pragma=no-cache directives

Like many of you, I was seeing and using these two meta tags for years, without much thinking of what exactly they are for, except that they are used to ensure…
cincplug
  • 1,024
  • 5
  • 20
  • 38
1
vote
1 answer

IE8 Compatablity in iframe for ie10 page

We have a page written in HTML5 running in BrowserMode:IE10 Compatibility View and DocumentMode IE10. Inside it we have a page we host which has to be run DocumentMode:IE8 or lower Otherwise the page will look bad. I can't touch the hosted page, and…
1
vote
2 answers

does http-equiv Refresh meta tag URL get a leading slash?

This follows in meta tag, url with slash vs url without slash. All the answers missed something in the original poster's example: it's about meta http-equiv Refresh, about which HTML5 specifies that the path is to be relative to where the file with…
Nick
  • 281
  • 2
  • 5
1
vote
0 answers

http meta Refresh redirecting with web query params

Is it possible to pass the web query parameters included in original web request (for example: ?id=123&topic=technology) using meta refresh so the target web site (like in the following sample)
Alexander Bell
  • 7,842
  • 3
  • 26
  • 42
1
vote
1 answer

Meta tag `IE=EmulateIE9` results in unexpected document type

I am working on a site that is using the following: Doctype: Meta tag: When I run the site in IE > IE9, I am expecting the site to render in IE9 standards mode. This is…
sixtyfootersdude
  • 25,859
  • 43
  • 145
  • 213
1
vote
1 answer

"Bad value expires for attribute http-equiv on element meta"

Ok so I have been using the wrong code for I don't know how long now - it seems that is wrong and the following is correct So my question…
RussellHarrower
  • 6,470
  • 21
  • 102
  • 204
1
vote
1 answer

Redirecting to a video with http-equiv="refresh" meta-tag doesn't work in Android embedded browser

I want to start playing a video after 3 seconds after loading a web page. This is my html code:
E Gomez
  • 77
  • 6
1
vote
0 answers

In IE10, is there a setting to always use Standard Document Mode?

I created an extension for IE10 that uses X-site scripting, which does not work when Document Mode (Not the Browser Mode!) is set to below IE10. But some of the sites that my extension runs include the
0
votes
0 answers

HTTP 301 vs meta http-equiv refresh tag

I'm using AWS CloudFront to host my web app from S3. Now, I'm changing the domain of my web app, let's say from foo.example.com to bar.example.com/foo. In addition to setting up a new CloudFront distribution for bar.example.com that hosts the app, I…
0
votes
0 answers

HTML meta http-equiv refresh doesn't work correctly on Firefox

I have a piece of HTML code that basically waits for 2 seconds(for a browser extension injection), if browser extension doesn't exist, the code will redirect to the browser extension's installation file and I expect the redirection will start…
CipherText
  • 105
  • 1
  • 10
0
votes
2 answers

How to smoothly transition from one page to the other using HTTP-EQUIV="refresh"

I'm just building a locally hosted website. I will have a number of pages, 1,2,3 etc. And I wanted to create a kind of a slideshow effect by cycling slowly through each page. Using http-equiv="refresh" on each page I can link from page 1 to 2, page…
gravity121
  • 33
  • 7