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
Preface I recently encountered some problems at w...
This article uses examples to explain the concept...
As the number of visits to the company's webs...
When we work in a terminal or console, we may not...
This article takes the deployment of Spring boot ...
Recently, due to the increase in buttons in the b...
1 Introduction Binary log records SQL statements ...
Getting Started with JavaScript JavaScript is a l...
The shutdown.bat file has a sentence if not "...
Using js in web design can achieve many page effec...
Install Follow the README to install The document...
It took me more than an hour to open ssh in Ubunt...
CSS3 implements 2D plane transformation and visua...
Flex layout is undoubtedly simple and easy to use...
1. Always close HTML tags In the source code of p...