Regarding radio buttons in html buttons

What will happen if two radio buttons will be assigned with 2 different “name” attrributes?
And also what is the use of “name” attribute?

@Swikrity94 you can use as many radio buttons as you want, each having different name. What “name” attribute does is that it helps in differentiating the value of the radio button form each other. When you send the data back to the backend you want each value to be assigned with different name so that you can access it easily.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.