I learned that the name attribute has been deprecated. But this is how I performed exclusive selection of radio buttons on the form. How do I do it now without using JavaScript?
<input type='radio' name='gender' value='male'>Male</input> <input type='radio' name='gender' value='female'>Female</input>
Undo your belief that the name attribute is deprecated.
Name is deprecated on a, applet, frame, iframe, img and map but not on input.