- Description
- This tag allows creating interface element in the form of the opening list, and the list with one multiple choice. The final image depends on the use of size parameter of the tag <SELECT>, which defines the height of the list. The list width is defined by the widest text, which is indicated in the tag <OPTION>, and can be changed via styles. Each point is created with the help of tag <OPTION>, which must be put into package <SELECT>. If you plan to send the list data to the server, element <SELECT> must be put into the form.
-
<select> <option>Point 1</option> <option>Point 2</option> </select>
- Parametrs
- Disabled blocks the access and changing of the element
- Multiple this parameter allows choosing several elements at once
- Name name of the element for sending to the server
- Size number of imaged lines of the list
- Closing Tag
- Is optional.
-
The Description of Tag <SELECT> Parameters
- Disabled parameter
- Description
- Blocks the access and changing of the element.
-
<select disabled="disabled">...</select>
- Arguments
- No
- Default value
- This parameter is disabled by default.
- MULTIPLE parameter
- Description
- Availability of MULTIPLE parameter informs the browser to display the content of the element <SELECT> as a list of multiple choice.
-
<select multiple="multiple">...</select>
- Arguments
- No
- Default value
- This parameter is disabled by default.
- NAME parameter
- Description
- Defines the unique name of the element <SELECT>. This name is used for data access via scripts.
- The external file after the first access is saved in browser cache and then it downloads faster.
-
<select name="name">...</select>
- Arguments
- The number of symbols, including numbers and letters, is used as a name. JavaScript is case sensitive, that is why follow the same spelling as in name parameter.
- Default value
- No
- SIZE parameter
- Description
- Defines the height of the list. In case the value of the size parameter is 0, the list becomes opening. When adding multiple parameter to the tag <SELECT> if size="1", the list is imaged as a scroll. In the other cases the list is with one or multiple choice.
-
<select size="0">...</select>
- Arguments
- Any positive integer
- Default Value
- Depends on multiple parameter. If it is present, the size of the list equals the number of elements. If there are no multiple parameters the value of the size parameter is 1.
- PHP contact form
- File upload form
- CSS forms
- Form builder


