Reply to Re: td table data and the attribute name

Your name:

Reply:


Posted by Steve Pugh on 01/22/03 11:39

APT wrote:
> <marcwentink@hotmail.com> wrote in message
> news:1139393803.768820.89090@g14g2000cwa.googlegroups.com...
> >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?
> >
> > I see this all over the place in the old code I am changing.
> > (Which not necesarelly means this is correct of course.)
> >
>
> It may be confused

No it's not confused.

> that the "name" and "id" are the same.

On some elements they have to be the same. On other elements they may
or may not be the same. There is no element in HTML where name and id
must be different.

> Both names and IDs
> should have unique names that are only used once per document.

Ids must be unique within the document, but there are cases where name
can be the repeated.

> Try changing the ID name and see if the error is still there.

It will be. The problem is with the name attribute itself, not with its
value.

Steve

[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

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