Quiz Question 1 of 6
In the context of radio buttons, why is it important to ensure that all buttons in a group share the same name attribute?
Choose the correct answer below:
-
A
It automatically submits all values of the radio buttons in the group upon form submission.
-
B
It ensures that all radio buttons in the group remain unchecked until one is selected by the user.
-
C
It allows multiple radio buttons to be selected at once, providing more user flexibility.
-
D
It ensures that only one radio button can be selected at a time within the group, enforcing mutual exclusivity.