What does option mean in html?
Function: Define an option (an item) in the drop-down list.
Description: The browser displays the content in the
The option element is located inside the select element.
Note: The
html option tag example
<!DOCTYPE html> <html> <body> <select> <option>peter_zhu</option> <option>西门大官人</option> <option>灭绝师太</option> <option>无忌哥哥</option> </select> <p>option标签用于下拉列表中的元素</p> </body> </html>
The above is the detailed content of What does option mean in html?. For more information, please follow other related articles on the PHP Chinese website!