Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Etymology  





2 HTML  





3 Unicode  





4 See also  





5 References  





6 External links  














Radio button






العربية
Azərbaycanca
Català
Čeština
Deutsch
Español
فارسی
Français

Հայերեն
Hrvatski
Italiano
Қазақша
Latina
Nederlands

Norsk bokmål
Polski
Português
Русский
Српски / srpski
Suomi
Svenska

Українська

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Four options on a radio button. When a new option is chosen, the previously chosen option is unselected.

Aradio buttonoroption button[citation needed] is a graphical control element that allows the user to choose only one of a predefined set of mutually exclusive options.[1] The singular property of a radio button makes it distinct from checkboxes, where the user can select and unselect any number of items.

Radio buttons are arranged in groups of two or more and displayed on screen as, for example, a list of circular holes that can contain white space (for unselected) or a dot (for selected). Each radio button is normally accompanied by a label describing the choice that the radio button represents. The choices are mutually exclusive; when the user selects a radio button, any previously selected radio button in the same group becomes deselected (making it so only one can be selected). Selecting a radio button is done by clicking the mouse on (or touching the screen over) the button, or the caption, or by using a keyboard shortcut.

Etymology[edit]

A radio with a row of five pop-out buttons

Radio buttons were named after the physical buttons used on older radios to select preset stations[2][1] – when one of the buttons was pressed, other buttons would pop out, leaving the pressed button the only button in the "pushed in" position.

HTML[edit]

Inweb forms, the HTML element <input type="radio"> is used to display a radio button. Example:

<form>
    <input type="radio" name="season" value="winter" id="winter" checked>
    <label for="winter">Winter</label>
    <input type="radio" name="season" value="spring" id="spring">
    <label for="spring">Spring</label>
    <input type="radio" name="season" value="summer" id="summer">
    <label for="summer">Summer</label>
    <input type="radio" name="season" value="autumn" id="autumn">
    <label for="autumn">Autumn</label>
</form>

A group of attributes is defined by name. In one group, only one radio button can be chosen.

Unicode[edit]

Version 6 of the Unicode standard includes a character designated to represent a radio button, (🔘) at code point 128,280 (U+1F518), found in the Miscellaneous Symbols and Pictographs section. Similar characters are the mathematical operator U+2299 CIRCLED DOT OPERATOR as well as U+25C9 FISHEYE and U+25CE BULLSEYE.

The font Wingdings 2 contains at position 153 and 158 glyphs that look like radio buttons.

See also[edit]

References[edit]

  1. ^ a b "Radio Buttons". Windows Dev Center. Retrieved 14 September 2016.
  • ^ Yumashev, Alex. "The history of a radio-button". JitBit Founders Blog. Retrieved 14 September 2016.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Radio_button&oldid=1230132643"

    Category: 
    Graphical control elements
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Articles needing additional references from November 2022
    All articles needing additional references
    All articles with unsourced statements
    Articles with unsourced statements from April 2021
     



    This page was last edited on 20 June 2024, at 21:00 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki