tags:

views:

150

answers:

2

Does a meta refresh tag require a full url?

I have code that looks like this, which seems to work just fine, but when I load it in lynx text browser, it says this is bad HTML. It seems to suggest that the full URL is required (http://mydomain.com/blah.htm).

A: 

If you want this to be relocatable, generate it on-the-fly with JS.

jldupont
I would, but it's located between <noscript> tags to redirect users who don't have javascript enabled.
Roy Rico
I'm sure lynx won't like it when you generate it with JS :)
dr. evil
A: 

From practice I can say it does not require full url. However it may not be specified in any HTTP version and up to the browser. FF/IE/Chrome all seem to work without a full url.

Pat