SHARE
TWEET

HTML 5 : Radio Button

stevennathaniel Jun 19th, 2016 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>Radio Button</title>
  6. </head>
  7. <body>
  8.  
  9.     <form>
  10.  
  11.         <input type="radio" name="gender" value="male" checked> Male<br>
  12.  
  13.         <input type="radio" name="gender" value="female"> Female<br>
  14.  
  15.         <input type="radio" name="gender" value="other"> Other
  16.  
  17.     </form>
  18.  
  19. </body>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top