You are here: Re: td table data and the attribute name « HTML « IT news, forums, messages
Re: td table data and the attribute name

Posted by Steve Pugh on 11/13/43 11:39

marcwentink@hotmail.com wrote:
> I am checking html against:
>
> http://validator.w3.org/check
>
> and it seems to complain about:
>
> <td class="stctd" name=tdbsgroep id=tdbsgroep>
>
> "Line 659 column 34: there is no attribute "NAME"."
>
> is that correct, td does not have an attribute name?

Correct. You can check the spec yourself:
http://www.w3.org/TR/html401/struct/tables.html#edef-TD

> I see this all over the place in the old code I am changing.
> (Which not necesarelly means this is correct of course.)

Is it being used at all in your code? By some back end process (in
which case strip it out when it's served) or by some JavaScript
(rewrite the JS to use id or class instead)? Because otherwise it's
just pointless bloat.

Steve

 

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

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