The OPTION tag is used to define the options written within the SELECT tag. The options are created by embedding the OPTION tag within the opening and the closing tags of the OPTION tag.
Each option is separately written within a separate set of OPTION tag can not contain any other tag within it.
The following table describes the various attributes of the OPTION tag.
|label||Refers to the heading of the several groups|
|disabled||Disables the OPTION tag|
|selected||Refers to the option that is to be displayed as default|
|value||Refers to the value that is sent to the server|
© Copyright 2021. All Rights Reserved.