User menu

You are here

Home
Option (<OPTION>)

[Name]
NAME
[Syntax]
SYNTAX
[Description]
DESCRIPTION
[Name]
ATTRIBUTE(S)
[Notes]
NOTES
[Example(s)]
EXAMPLE(S)
[Cross Reference(s)]
CROSS REFERENCE(S)


[Name]
NAME
Option element
[Syntax]
SYNTAX
<OPTION>text
[Description]
DESCRIPTION
This element is used to define the menu items for a SELECT menu.
[Attribute(s)]
ATTRIBUTE(S)
NAME DOMAIN DESCRIPTION
SELECTED When this attribute is present, the option is selected when the document is initially loaded. It is an error for more than one option to be so selected for one from many menus.
VALUE a valid value Specifies the property value to be used when submitting the form's content. This is combined with the property name as given by the name attribute of the parent SELECT element.
[Notes]
NOTES
  • End tag is not needed
  • This element is coupled very tightly with the SELECT element
[Example(s)]
EXAMPLE(S)
  • <SELECT NAME="color">
    <OPTION VALUE=a SELECTED>Red
    <OPTION VALUE=b>Black
    <OPTION VALUE=c>Green </SELECT>
[Cross Reference(s)]
CROSS REFERENCE(S)

Recent content

New forum topics

Recent comments

No comments available.

Google Search

Google Ads

Visitors

  • Total Visitors: 333227
  • Unique Visitors: 48759
  • Registered Users: 75211
  • Last Registered User: MusicDig
  • Published Nodes: 192
  • Your IP: 44.210.120.182
  • Since: 04/17/2023 - 16:53

Who's online

There are currently 0 users online.

Database Connection failed: Unknown MySQL server host 'richyancy.mynetgear.com:3306' (0)