3.2 NS IE

<SELECT>...</SELECT>

This tag lets you create a listbox as an input field on a form. It is only valid inside the FORM tag. The possible choices of the listbox are created with the OPTION tag.

AUTOACTIVATE
TV
Use the autoactivate attribute to activate the list automatically when the viewer selects it.

When the autoactivate attribute is not specified for a list, the viewer must press the GO button on the remote control (or Return on a keyboard) to activate the list and select an item from it. Also, when autoactivate is not specified, the arrow buttons on the remote control move the Highlight rectangle to the next selectable item on the web page.

When the autoactivate attribute is specified for a list or when the viewer has activated the list, the viewer can use the arrow buttons to move up and down within the list. The viewer can select an item by pressing the GO button.

You can use the autoactivate attribute with the multiple attribute or with the size attribute for sizes greater than 1.


BGCOLOR
TV
Use the bgcolor attribute to set the background color for the list. The default value for bgcolor is #afafaf. You can use the bgcolor attribute with the multiple attribute or with the size attribute for sizes greater than 1.
See the page Using colors for a description on specifying colors.

EXCLUSIVE
TV
Use the exclusive attribute to prevent duplicate entries in the list.

MULTIPLE
3.2 NS IE TV
Default only one item can be selected. This attribute makes it possible to let the user input multiple choices.

NAME
3.2 NS IE TV
This attribute gives the input field a name which can be used by scripts.

SELCOLOR
TV
Use the selcolor attribute to set the background color for the selections in the list. The default value for selcolor is #eaeaea. You can use the selcolor attribute with the multiple attribute or with the size attribute for sizes greater than 1.
See the page Using colors for a description on specifying colors.

SHOWEMPTY
TV
Use the showempty attribute to display empty lists with the empty string. You can use the showempty attribute with the multiple attribute or with the size attribute for sizes greater than 1.

SIZE
3.2 NS IE TV
This sets the number of lines the field should be visible at one time.

TEXT
TV
Use the text attribute to set the color of the text for the items in the list. You can use the text attribute with the multiple attribute or with the size attribute for sizes greater than 1.
See the page Using colors for a description on specifying colors.

USESTYLE
TV
Use the usestyle attribute so that the text in the list is rendered in the current style in effect for the page.

 
Source:
<FORM>
What do you want on your pizza :
<SELECT MULTIPLE SIZE=2>
<OPTION VALUE=cheese>Cheese
<OPTION VALUE=pepper>Peppers
<OPTION VALUE=ansjovis>Ansjovis
<OPTION VALUE=tomatoes>Tomatoes
</SELECT>
</FORM>
 
Result:
What do you want on your pizza :


Statistics Copyright © 1996, 1997 Rob Schlüter
Last updated 1997/05/01
Email: schluter@knoware.nl