Tag Info

New answers tagged


TomDoes explained it well, you should NOT replace label tag with a placeholder attribute. However a small detail was missed that a label tag also serves an alternate purpose. The label tag allows you to click on the label, and it will be treated like clicking on the associated input element (this is especcially useful for radio buttons and checkboxes). ...

Top 50 recent answers are included