+ 1

<input type="radio"/>

is that necessary to ad the name and value to the input type="radio" element?? if that necessary please tel me what i can add to the value ? any text? any number?? or specific something else? and what i can add to the name? is that something specific or any text i want? and why (for what) i have to use them? in another words why we use the value and name in the element <input type="radio">?

28th Sep 2016, 3:23 PM
Boseka
Boseka - avatar
2 ответов
+ 1
For text and numeric or specific <input type="text" value="for everything" >
28th Sep 2016, 4:44 PM
HawkEye
HawkEye - avatar
0
Is it necessary to close the 'input' adding a slash. Is the example <input type="checkbox"> incorrect?
10th Jan 2017, 5:11 PM
cath_friday
cath_friday - avatar