In HTML, why is a radio input called so? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

In HTML, why is a radio input called so?

I don't see any similarities between a radio and that style of input.

23rd Jul 2018, 8:33 AM
Satyam
2 Answers
+ 4
Hi, A radio input is a radio check and it is used to select one out of a set, they need to have the name attribute with the same value to works Is called radio because they work like the buttons of the old-fashioned radios
23rd Jul 2018, 8:42 AM
Guillem Padilla
Guillem Padilla - avatar
+ 3
Thank you Guillem Padilla!
23rd Jul 2018, 9:34 AM
Satyam