Posted by David Dorward on 06/11/06 11:34
Jim Higson wrote:
> I just noticed that not separating attributes by spaces is picked up by
> some validators/checkers and not others.
> For example, this code:
>
> <a title="a link"href="http://example.com">this is a link</a>
>
> Flags no errors with the W3C checker
Which does warn that it has some limitations when dealing with XML:
http://openjade.sourceforge.net/doc/xml.htm
"XML does not allow a parameter separator that is adjacent to a delimiter to
be omitted."
> This is in an XHTML document (although I'd be interested to see what the
> rules are for HTML 4 as well).
I believe it is allowed in HTML.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|