You are here: Re: html vaildation « HTML « IT news, forums, messages
Re: html vaildation

Posted by Els on 03/06/06 22:22

terry wrote:
> saz wrote:
>> In article <120p4t9f6tm1hfa@news.supernews.com>, RE_MOVE_THIS_terryb@
>> 4everhers.com says...
>>> I'm a little confused! I validate my html code at the following two
>>> sites and I get two different answers with respect to the font tag.
>>> w3.org tells me to Not use the # symbol and rankquest.com tells me I
>>> should. Which is right? I would lean toward w3.org being correct.
>>>
>>> <font color="C16162">
>>> <font color="#C16162">
>>>
>>> http://www.rankquest.com/tools/Html-Validator.php
>>>
>>> http://validator.w3.org/
>>
>> It would help to give the URL.
>
> Sorry! I was hoping someone could answer the question about the # in
> the tag without my giving the URL ... because ... although I think we
> have a very classy site it "might" offend someone to see a girl in
> lingerie. That's what we sell.
>
> Ok, that's the disclaimer.
> http://www.4everhers.com

I see the validator at w3.org say the following:
Line 480 column 182: an attribute value must be a literal unless it
contains only name characters.

....ccount at 4everhers.com"><font color=#006600>My
Account</font></a></div></td>

The error is not the #, but the lack of " and " on either side of the
color value. The right syntax is color="#006600", not color=#006600.

--
Els http://locusmeus.com/

 

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

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