HTML form tag tutorial (4): _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
Suppose you want to add the following content to the form: browsing the city. Not to mention cities across the country, there are dozens of cities with provincial capitals or above. It would be unimaginable to list all the cities on the webpage in the form of single-choice buttons mentioned above. The menu and list appear in the form object. In the end, menus and lists are mainly used to save the assumption that you need to add the following content to the form: browse the city. Not to mention cities across the country, there are dozens of cities with provincial capitals or above. It would be unimaginable to list all the cities on the webpage in the form of single-choice buttons mentioned above. The menu and list appear in the form object. After all, menus and lists are mainly generated to save space on webpages.
A menu is the most space-saving method. Normally, only one option can be seen. You can click the button to open the menu to view all options. A certain number of options are displayed in the list. If this number is exceeded, the scroll bar is automatically displayed. Visitors can drag the scroll bar to view the options. Pass AndYou can design the menu and list effects on the page by TAG.Basic syntax 0102 Option 03 Option 04 ...... 05 Syntax explanation
The meanings of these attributes are shown in the following table.Menu and list tag DescriptionName menu and list name size number of options displayed in the multiple list Project multi-choice value option value selected default option file example: 11-16.htm
Insert menus and lists on the page.
01
02
03
04
05<Br/> 06 <pead> <br/> 07 <title> Insert menu and list
08
09
10 user surveys
11
28
29File description
Row 13th defines that the number of projects displayed in the list is 4 and can be selected multiple times. Lines 14th to 17th define options. "rock" is the default option, and lines 20th define the default menu quantity. Lines 21st to 24 define options. "Beijing" is the default option.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.