Reply to Re: Is this valid code?

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация