Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- forwarding not valid?
- Christian Buhtz
December 3, 2009, 10:14 am
rate this thread
I try to implement forwarding with this simple lines
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml ">
<meta http-equiv="refresh" content="0 URL=http://blackfisk.berlios.de " />
But validating with the w3c-validotor causes in errors. What is wrong here?
The validator says:
"Line 7, Column 7: end tag for "head" which is not finished
Most likely, you nested tags and closed them in the wrong order. For
example <p><em>...</p> is not acceptable, as <em> must be closed before
<p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child
element that you did not include. Hence the parent element is "not
finished", not complete. For instance, in HTML the <head> element must
contain a <title> child element, lists (ul, ol, dl) require list items
(li, or dt, dd), and so on."
publictimestamp.org/ptb/PTB-7778 sha256 2009-12-03 09:00:05
Re: forwarding not valid?
Gee you must have got the validator to work at incredible speeds before
the page changed to the URL you wanted (which validated). Luckily I have
a special HTML camera that can capture things like this and you can make
the validator happy if you put in a title element (as it suggests!):