You are here: Re: validation seems wrong « HTML « IT news, forums, messages
Re: validation seems wrong

Posted by windandwaves on 08/29/05 01:15

cwdjrxyz@yahoo.com wrote:
> windandwaves wrote:
>> Hi Folk
>>
>> I validate my page:
>>
>> http://validator.w3.org/check?uri=http%3A%2F%2Fwww.e-61rocket.co.nz%2Fdealers.php
>>
>> and got all sorts of errors for html that actually resides in
>> javascript. What can I do about this?
>>
>> The actual page is:
>>
>> http://www.e-61rocket.co.nz/dealers.php
>>
>> any other comments on this site are also greatly appreciated.
>>
>> Thanks in advance.
>>
>> Nicolaas
>
> Your problem likely is very easy to solve. When you write html tags
> within a javascript, their closing tags must all be backslashed. For
> example: <\/p>, <\/div>, and <\/h1>. The script usually will work
> without backslashing. The reason for this backslashing is explained
> somewhere on the W3C sites. This is the source of one of the most
> frequent reports of validation problems to the W3C.

Will fix - thank you.


> I have no problem with using javascript on a site. It may be a good
> idea to include a warning that javascript needs to be on. However for
> those wishing to reach the few % of people who turn off javascript and
> will not turn it on, there usually is a way to defeat this problem. I
> notice you are using php. You usually can write a server side script
> in php that will do the same thing as a client side javascript.

Great idea, i actually already provided links that are the same as the
mouse-over, but I will also actively check if javascript is on and serve a
different page if it is not....

Thank you again.

 

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

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