Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Convert information to radio button

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-08-2009
Member
 
Join Date: Aug 2009
Posts: 53
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?

Reply With Quote
  #2  
Old 29-08-2009
Member
 
Join Date: Nov 2008
Posts: 996
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.
Reply With Quote
  #3  
Old 29-08-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
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"> 
Reply With Quote
  #4  
Old 31-10-2009
swapantech1
 
Posts: n/a
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Convert information to radio button"
Thread Thread Starter Forum Replies Last Post
Radio Button is not working properly in Excel Raju Chacha Windows Software 2 07-01-2012 09:06 PM
Wi-Fi radio button of Toshiba Satellite a665 S6050 is not working Eugenia Portable Devices 5 02-05-2011 02:05 AM
Create radio button Linux-Us Software Development 3 24-11-2009 02:58 PM
Dell laptop tells me to switch ON radio button Mindstorm Portable Devices 3 18-08-2009 08:39 PM
Convert Sleep Button in Shutdown button In Vista Kraker999 Customize Desktop 3 20-03-2009 12:45 AM


All times are GMT +5.5. The time now is 10:48 PM.