Radio Button

 <!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Radio button</title>
  </head>
  <body>
    <form action="/server">
      <input type="radio" name="fruit" value="apple" />
      <label for="apple">apple</label>
      <input type="radio" name="fruit" value="mango" />
      <label for="mango">mango</label>
      <input type="radio" name="fruit" value="orange" />
      <label for="orange">orange</label>
      <button>submit</button>



    </form>
  </body>
</html>

Comments

Popular posts from this blog

TextArea

unordered list with image link

Select input form