How to Create a Check Box with HTML

Adding a check box into your HTML is normally used for one main thing: for it to be apart of a form. In this simple how to, you will see how to insert a check box into your HTML form.

Steps

  1. Image titled Embed Video in HTML Step 1
    1
    Open up your favorite HTML or text editor. Some great ones are:
    • Dreamweaver
    • Aptana
    • Microsoft Expression Web
    • The HTML Editor (CoffeeCup)
  2. 2
    Enter the following HTML code into your editor.
    • <form>
      Image titled Create a Check Box with HTML Step 2Bullet1
    • <input type="checkbox" name="enter name here" value="enter value here">CONTENT
      Image titled Create a Check Box with HTML Step 2Bullet2
    • <input type="checkbox" name="enter name here" value="enter value here">CONTENT
      Image titled Create a Check Box with HTML Step 2Bullet3
    • </form>
      Image titled Create a Check Box with HTML Step 2Bullet4
  3. Image titled Create a Check Box with HTML Step 3
    3
    In between the quotations, enter the name or value of the check box.

Tips

  • Read how to create a text input using HTML first.

Things You'll Need

  • Your favorite text or HTML editor
  • Basic knowledge of HTML

Article Info

Categories: HTML