Terms of Service Privacy Policy Contact Us

leistware.com

HTML Form Elements

Form Elements


A form doesn't do a whole lot of good if you don't have a way to enter the data. For that there is the Form Element.

There are actually quite a few. The most used by far is the input element which has a miriad of options. This is a list...

  • <button>
  • <datalist>
  • <fieldset>
  • <input>
  • <label>
  • <legend>
  • <option>
  • <optgroup>
  • <output>
  • <select>
  • <textarea>

They don't all work independently... some of them support other elements. For example you wouldn't use the <option> tag unless it was a child of <select> or <dataset>.

Form Element Relationships

At the same time the <legend> tag wouldn't do much good unless it was a child of a <fieldset>

And <label> has an association with all of them... at least the main elements.

CREATED 2020-09-12 09:09:13.0

010-00-02-C7

UPDATED 2020-09-12 10:33:09.0

Knowledge

Page Server: Ruger

DBID: db.wam

©2012 Leistware Data Systems

      Hello anonymous