Horje

What is HTML <select> form Attribute

Definition and Usage

The form attribute specifies the form the drop-down list belongs to.

The value of this attribute must be equal to the id attribute of a <form> element in the same document.


Browser Support

Syntax

<select form="form_id">

Attribute Values

Value Description
form_id Specifies the form element the <select> element belongs to. The value of this attribute must be equal to the id attribute of a <form> element in the same document.




Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin