An simple HTML form with two input fields and related labels :
Edit code and click me
Your Result
(Some examples do not work in Google Chrome):
Click on one of the text labels to toggle the related control:
Male
Female
Edit the code above and click to see the result
www.xhtml.co.il
- Try it yourself