Web Development and Design Foundations with XHTML, 5th Edition
steven felgate
(Steven Felgate)
2020-04-04 15:02:43 UTC
#1
(^600) Appendix A XHTML Reference
The
Ta g
The
tag configures a select box to display a menu of items, sometimes called
a list box or drop-down list box. The individual menu items are configured with
tags. Table A.27 shows
tag attributes and their values.
Table A.26
tag attributes (continued)
Attribute Value Usage
tabindex Numeric Changes the order of the form element accessed by pressing the t
key. Default order is the order the form elements are placed on the
page.
title A brief text description Configures a brief text description that will display in some browsers
when a mouse pointer is placed over the element.
Table A.27
tag attributes
Attribute Value Usage
accesskey A character on the
keyboard
Configures a hot key that immediately places the cursor on the form
element.
disabled "disabled" Prevents the cursor from being placed in the select list.
id Text name, beginning with a
letter, no spaces
Provides a unique identifier for the form element that can be used to
associate the element with a
tag or act as a named frag-
ment identifier.
multiple "multiple" Allows multiple selections from the list.
name Text name, beginning with a
letter, no spaces
Names the form element.
size Numeric Provides the number of elements to be displayed. If size is configured,
the select list is displayed as a scrolling list. If size is omitted, the select
list is a drop-down list.
tabindex Numeric Changes the order of the form element accessed by pressing the
tkey. Default order is the order the form elements are placed on
the page.
title A brief text description Configures a brief text description that will display in some browsers
when a mouse pointer is placed over the element.
The
Ta g
The
tag configures an item within a select element. The text contained
between the
tags is displayed in the select box. Table A.28 shows
tag attributes and their values.
← Previous
Next →
Free download pdf