How to Define a Selectable List in HTML

Type the tag into the HTML file., Determine what type of information you need to collect from your visitor.,Remember to denote the areas of the tags with the use of the , and tags., Denote a label for the item using the tag into the code. , Type the...

12 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Type the <form> tag into the HTML file.

    Whether it's straight text (useful for names and addresses) or a password (for pages that require setup information), or yes/no checkboxes, or even a drop-down list of reasons (and lots of other types too), you'll never run out of items or reasons to put stuff on the page.

    Set the different types below for additional information to add to the page. ,,,,,,,,,
  2. Step 2: Determine what type of information you need to collect from your visitor.

  3. Step 3: Remember to denote the areas of the tags with the use of the <p>

  4. Step 4: </br> and </form> tags.

  5. Step 5: Denote a label for the item using the <p> tag into the code.

  6. Step 6: Type the <select> tag to denote this type of list exists to the browser and press ↵ Enter when that is complete.

  7. Step 7: Type the <option value="shortexplanation2denoteitem"> tag.

  8. Step 8: Type the text that you want your visitor to see displayed in the list.

  9. Step 9: Type the concluding tag for the option you wrote using the </option>

  10. Step 10: Repeat the steps from type the <option> tag downward for each item you'd like to include in the list.

  11. Step 11: Type the conclusionary tag for the selection/drop-down box using the </select> tag.

  12. Step 12: Type the </form> tag to conclude the form.

Detailed Guide

Whether it's straight text (useful for names and addresses) or a password (for pages that require setup information), or yes/no checkboxes, or even a drop-down list of reasons (and lots of other types too), you'll never run out of items or reasons to put stuff on the page.

Set the different types below for additional information to add to the page. ,,,,,,,,,

About the Author

G

Gregory Thompson

Creates helpful guides on lifestyle to inspire and educate readers.

36 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: