tee wrote:
1) wrap the input inside 'label' is bad practice - so I have not done
that for years.
No it isn't. Using the for attribute is best practise, but there is no
harm in doing both (unless you need the elements to be separate for
styling purposes).
2) learned that 'button' is better
1) wrap the input inside 'label' is bad practice - so I have not done
that for years.
2) learned that 'button' is better over the 'input' for submit
3) Will wrapping button inside 'label' is: a) OK - no ill effect
whatsoever; b) very good; c) bad- never do that.
example 1:
fieldset