Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
元刷新标签是否需要完整的网址?
我有看起来像这样的代码,它似乎工作得很好,但是当我在 lynx 文本浏览器中加载它时,它说这是错误的 HTML。似乎表明需要完整的 URL ( http://mydomain.com/blah.htm )。
从实践中我可以说它不需要完整的网址。但是,它可能不会在任何 HTTP 版本中指定,直到浏览器为止。FF/IE/Chrome 似乎都可以在没有完整 URL 的情况下工作。
如果您希望它是可重定位的,请使用 JS 即时生成它。