Convert information to radio button
I want to create a small code in HTML where user is asked for inserting the grade of marks obtained in his previous STD. As you can assume, this will include 5 entries: A, B, C, D, E. For this I want to use radio buttons so that there is only one input from the user. But the problem is that I can't figure out. What should I do to present this information in radio buttons?
Re: Convert information to radio button
The <input> tag is what you need to use to represent that data. Input fields can be used in number of ways such as checkboxes, text fields, radios, and form submission buttons. It has accept, align, alt, checked, disabled, maxlength, name, readonly, size, src, type and value as optional attributes. There are many more attributes to input tag.
Re: Convert information to radio button
Here is the code:
HTML Code:
<input type="radio" name="Grade A" value="85 or above">
<input type="radio" name="Grade B" value="70-85">
<input type="radio" name="Grade C" value="55-70">
<input type="radio" name="Grade D" value="40-55">
<input type="radio" name="Grade E" value="Fail">
Re: Convert information to radio button
Dear Kelfro,
With due respect, I am thanking you very much for the text ( Convert information to radio button ).
thanks & regards,
swapan.