## is actually similar to the
listof input, both require option and value can be omitted, but assignment is generally used for database storage and Call. The database is more efficient for numeric index
##size No need to pull down, it seems Taobao sellers select the same product category list...optgroup This is not an attribute, it is just a node with multiple layers of options. There are many tags used to divide nodes in this way. For example, hgroup is used to organize titles, and
optgroup is used to organize data classification. Of course, this is only for performance, and the actual classification is still in the database.三三Group
, this is the combined force of optgroup and label.multiple Multiple selection After it is true, you can press ctrl to select multiple linesBecause it is not within the form double box, the button cannot submit the name and value. Of course, sometimes it will fail, close it and try again. Open the page or refresh it with ctrl+F5.
##rows cols wrap is a textarea-specific setting
The above is the detailed content of Introduction to html5 forms, select drop-down, and textarea multi-line text. For more information, please follow other related articles on the PHP Chinese website!