You are here: Re: validating quoted ampersands « HTML « IT news, forums, messages
Re: validating quoted ampersands

Posted by dfloss on 09/23/06 21:46

mouse@house.spam wrote:
> I have a reference to a web counter in my page, which according to my
> ISP should look like;
>
> <IMG SRC="/cgi-sys/Count.cgi?df=sigma-index.html&st=1000">
>
> However the W3 validator wails about the ampersand '&' before the st.
> It insists the line must look like;
>
> <img src="/cgi-sys/Count.cgi?df=c-compiler-com-root&amp;ft=0&amp;dd=D"
> title="Counter" alt="Counter">
>
> in other words we must use &amp; instead of just &
>
> Is this how valid HTML must specify an ampersand? Both versions seem
> valid in my web browser. The &amp; version looks a bit strange and I
> am surprised that W3 validator regards it as necessary.

& is a very dubious html delimiter. &amp; is how it should be done

 

Navigation:

[Reply to this 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

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