/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: form

[this page | pdf | back links]

The HTML form attribute indicates the name of the form to which the element belongs. It applies to <button>, <fieldset>, <input>, <keygen>, <label>, <meter>, <object>, <output>, <select>  and <textarea> elements.

 

Valid attribute values (when used with <button>, <fieldset>, <input>, <keygen>, <label>, <meter>, <object>, <output>, <select> and <textarea> elements) include:

 

Value

Description

formID

One or more forms to which element belongs

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile