UK[ˈɒpʃn] US[ˈɑ:pʃn]
n.Option; right of choice; freedom of choice; ability to choose
vt. Get or be allowed to make a choice; transfer players
Third person singular: options Plural: options Present participle: optioning Past tense: optioned Past participle: optioned
html option tag syntax
Function:Define an option (an item) in the drop-down list.
Note: The browser displays the content in the <option> tag as a menu or an element in the scrolling list of the <select> tag.
The option element is located inside the select element.
Note: <option> tags can be used without any attributes, but you usually need to use the value attribute, which indicates what is being sent to the server. . Please use this tag with select elements, otherwise this tag is meaningless.
html option tag example
<!DOCTYPE html> <html> <body> <select> <option>peter_zhu</option> <option>西门大官人</option> <option>灭绝师太</option> <option>无忌哥哥</option> </select> </body> </html>
Run Instance»
Click the "Run Instance" button to view the online instance
<!DOCTYPE html> <html> <body> <select> <option>peter_zhu</option> <option>西门大官人</option> <option>灭绝师太</option> <option>无忌哥哥</option> </select> <p>option标签用于下拉列表中的元素</p> </body> </html>
Run instance»
Click the "Run instance" button to view the online instance