Home > Article > Web Front-end > Where is the HTML
HTML 5a07473c87748fb1bf73f23d45547ab8 Tag
##All browsers support the 5a07473c87748fb1bf73f23d45547ab8 tag.
definition and usage (Recommended Learning: HTML Tutorial )
Option Element Define one option (one entry) in the drop -down list. The browser displays the content in the 5a07473c87748fb1bf73f23d45547ab8 tag as a menu or an element in the scrolling list of the 221f08282418e2996498697df914ce4e tag. The option element is located inside the select element.Differences between HTML and XHTML
In HTML, 5a07473c87748fb1bf73f23d45547ab8 does not have a closing tag. In XHTML, 5a07473c87748fb1bf73f23d45547ab8 must be properly closed.Tip
Note: 5a07473c87748fb1bf73f23d45547ab8 tags can be used without any attributes, but you usually need to use value Property that indicates the content being sent to the server.
Note: Please use this tag in conjunction with the select element, otherwise this tag is meaningless.
Tips: If there are many options in the list, you can use the 5b7a15bed8615d1b843806256bebea72 tag to combine related options.
Example
Create a select list with 4 options:<!DOCTYPE html> <html> <body> <select> <option>Volvo</option> <option>Saab</option> <option>Mercedes</option> <option>Audi</option> </select> </body> </html>
The above is the detailed content of Where is the HTML