Results 1 to 4 of 4

Thread: Convert information to radio button

  1. #1
    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?

  2. #2
    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.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    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"> 

  4. #4
    swapantech1 Guest

    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.

Similar Threads

  1. Radio Button is not working properly in Excel
    By Raju Chacha in forum Windows Software
    Replies: 2
    Last Post: 07-01-2012, 09:06 PM
  2. Replies: 5
    Last Post: 02-05-2011, 01:05 AM
  3. Create radio button
    By Linux-Us in forum Software Development
    Replies: 3
    Last Post: 24-11-2009, 02:58 PM
  4. Dell laptop tells me to switch ON radio button
    By Mindstorm in forum Portable Devices
    Replies: 3
    Last Post: 18-08-2009, 07:39 PM
  5. Convert Sleep Button in Shutdown button In Vista
    By Kraker999 in forum Customize Desktop
    Replies: 3
    Last Post: 19-03-2009, 11:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,667,020.59818 seconds with 17 queries