Meta-refresh doesn't work?

后端 未结 7 1565
心在旅途
心在旅途 2020-12-24 01:11

I have a page using something along the lines of


but for certa

7条回答
  •  心在旅途
    2020-12-24 01:48

    The META tag is not an empty tag and does not have a closing tag in HTML, only in XHTML. (If you are really are sending XHTML, it may not work right on older versions of IE anyway, there are only workarounds to send XHTML to older IE versions.)

    Try:

    
    

    W3 Schools META Tag Description

    You might also try:

    1. Checking the major and minor versions of IE. You can do this on the help->about menu option.
    2. IE has historically gotten all confused by filenames and MIMEtypes. Make sure that you are sending your HTML as an htm or html extension file, and that those filetypes are set up on your server to send text/html mimetype.
    3. Make sure your server isn't sending a conflicting meta refresh http header.

提交回复
热议问题