Suppose now you want to add an item like this to the form: Browse the city you are in. We are not talking about cities across the country here, there are dozens of cities above provincial capitals. It would be unthinkable to list all these cities on the web page in the form of radio buttons as mentioned above. Then menus and lists appear in the form's objects. After all, menus and lists are created primarily to save space on web pages. The menu is the most space-saving method. Under normal circumstances, you can only see one option. You can see all the options after clicking the button to open the menu. A list can display a certain number of options. If the number is exceeded, a scroll bar will automatically appear and the viewer can view each option by dragging the scroll bar. The <select> and <option> tags can be used to design menu and list effects on the page.
| Menu and list markers | describe | name The name of the menu and list size The number of options to be displayed multiple Multiple selections of items in the list value Option value selected Default option File example: 11-16.htm
---|
<<: How to make ApacheBench support multi-url
>>: The role and opening of MySQL slow query log
"Grand" are probably the two words that ...
Let's take a look at the problem of VScode re...
Preface In addition to the default built-in direc...
Solve the problem of Chinese garbled characters i...
Table of contents Preface: 1. Introduction to rol...
I recently used the MySql database when developin...
for loop The for loop loops through the elements ...
Table of contents Preface 1. Object.freeze() 2. O...
The development of Docker technology provides a m...
Table of contents 1. Two-way binding 2. Will the ...
Table of contents 2. Tried methods 2.1 keep-alive...
View system help help contents mysql> help con...
Table of contents MySQL federated query execution...
Or write down the installation process yourself! ...
The first and most important step is how to insta...