Reply to Re: Disable checkbox

Your name:

Reply:


Posted by ZeldorBlat on 02/17/06 17:14

Shelly wrote:
> "ZeldorBlat" <zeldorblat@gmail.com> wrote in message
> news:1140123120.897872.275040@z14g2000cwz.googlegroups.com...
> > HTML style:
> > <input type="checkbox" name="foo" disabled>
> >
> > XHTML style:
> > <input type="checkbox" name="foo" disabled="disabled"/>
> >
>
> The "disabled" worked. What is that trailing slash for?

XHTML compliance. In XHTML, all tags must have matching closing tags.
Some tags are "self-closing" however (like <input>) so instead of a
</input> you just leave a trailing / to close it.

[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

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