- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Sun, 13 Nov 2005 15:22:53 +1100
- To: natovr@gmail.com
- CC: www-validator@w3.org
Nato van Rooyen wrote:
> [ See Line 15 column 515
> The tag did open, a few columns before it closes. If you always give this
> message, most HTML documents won't be 'valid'.
Most documents aren't valid for many reasons, and the validator isn't to
blame for any of them.
> My URL:http://www.ivanrooyen.pwp.blueyonder.co.uk/index.html
You have markup like this structure:
<FONT><B>Y</FONT>...<FONT>.co.uk</B></FONT>
HTML must form a tree structure and cannot have overlapping elements
like that. Notice how the <b> element is opened within one font
element, yet closed within another. That is invalid, every element must
be opened and closed within the same parent element:
<font>
<b>
...
</b>
</font>
You should also stop using presentational elements like <font> and <b>
and avoid the use of the style attribute in favour of an external
stylesheet.
--
Lachlan Hunt
http://lachy.id.au/
Received on Sunday, 13 November 2005 04:23:09 UTC