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

how to write content-security-policy in html ? are the values links or keywords?

i'm a new self learner to html and now i'm learning about meta tags , and rn i'm studying about content-security-policy . i've seen that csp consist of 2 part , the directive and the value . i understand the directives but i don't understand the…
sara
  • 1
0
votes
0 answers

how to add cache-control and expires value in html page

Client has asked to set the caching of the html file as: Cache-Control: max-age=3600, private Expires: time of day in one hour I tried looking for a number of ways and came across only for cache-control:
user2091061
  • 879
  • 3
  • 10
  • 32
0
votes
1 answer

How to implement http-equiv/refresh with POST request?

The above html automatically refreshes a page after 99 seconds. I tried to use it for a POST request to prevent a timeout error. However, it doesn't seem to work i.e., the meta tag has no effect…
pandichef
  • 706
  • 9
  • 11
0
votes
1 answer

How does meta tag with attribute http-equiv work under the hood?

I heard that the meta tag in html can be used to specify response key-value pairs, if so, how does it work under the hood? How does the server responding with html page understands the meta tag before the html parser parses it? Example of the meta…
Then008
  • 13
  • 1
  • 3
0
votes
1 answer

HTTP-EQUIV="REFRESH" isn't working on android web view

I have a web page with a basic form (like a newsletter subscription). The user sends its information and gets a success page with a link to the form submission page. If he doesn't click on the link the page will be automatically redirected after 5…
jbatista
  • 964
  • 2
  • 11
  • 26
0
votes
1 answer

How to declare metadata tags using python dominate

import dominate from dominate import tags as tags doc = dominate.document(title="Monitormaneto Data Center EOSP") with doc: tags.meta(
0
votes
1 answer

What is the purpose of meta http-equiv attributes with non-standard values?

I'm assuming this is some (presumably old-fashioned) SEO technique, but I can't find any information on it. Why would someone have the following in the of their website?
MyNotes
  • 426
  • 4
  • 11
0
votes
3 answers

Is it not possible to change the web code in client side permanently for client?

Please see image given below: I've put the code in the head section. Then I pressed Clt+Enter. The page is refresh after 5 second and my added code removed. (My intention was to refresh review page after…
0
votes
0 answers

Why do I have to refresh the browser twice for http-equiv refresh to work?

I have a file called test.php with the following code. JavaScript is…
brewpixels
  • 311
  • 1
  • 5
  • 19
0
votes
1 answer

Java URL download returns meta refresh tag instead of content

I have an URL of a file - for example: Http://www.anyUrl.com/fileExample which is offering to download this file when pasting it in Chrome/Explorer I want to get this file using Java code. Tried doing it using: URL url = new…
2Big2BeSmall
  • 1,348
  • 3
  • 20
  • 40
0
votes
1 answer

Web application triggers different button after using meta http-equiv="X-UA-Compatible"

I have an Classic ASP application. The application will now be used in IE11, and for making it compatible with the same, I used the meta tag The page triggers emails to people who are…
Abhid
  • 266
  • 1
  • 5
  • 18
0
votes
3 answers

error in W3C validation

I am using Bootstrap 3. When I add , the site shows error in the W3C validator.
user3364215
0
votes
1 answer

Load an HMVC module view within an Iframe in Codeigniter

I'm new at this and some help will be apprciated. I'm building a sidebar in a CI-Boilerplate-Project which contains modules (widgets) that i got run with HMVC https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc. In the sidebar i…
Elias
  • 1
0
votes
1 answer

Purpose of with recursive URL in a separate file

Google has been visiting a site file, 'test3.php', many, many times. I'm wondering if this could have any effect on our SEO, if it shows a fault in the coding, or if it part of the design for this site -- simply a way to refresh pages using a…
Avigail
  • 1
  • 1
  • 1
0
votes
0 answers

Page Redirection. Loss of Session data

I have a sign-in page. Once a user is logged in, I want to use php to redirect to a new page. I am trying to do this by checking if a user id is set or not. One: CONFIG FILE session_start(); Two: MAIN PAGE require ('config.php'); if…
DVCITIS
  • 1,067
  • 3
  • 16
  • 36