You are here: Re: <label> & <input> tags « HTML « IT news, forums, messages
Re: <label> & <input> tags

Posted by Andy Dingley on 11/22/06 13:03

Moosus Gracius wrote:

> Can you nest input tags insde of label tags and do away with the for
> attribute?

Yes. It's called an implicitly associated label

http://www.w3.org/TR/html4/interact/forms.html#edef-LABEL

"To associate a label with another control implicitly, the control
element must be within the contents of the LABEL element. In this case,
the LABEL may only contain one control element. "

 

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

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