Enter HTML5 entry to proficient:<menu> label

Source: Internet
Author: User
Keywords tags HTML5 Getting started to master

"Reprint please retain the integrity of the content of the Wind network article, if you do not comply with this principle, we will retain the right to pursue legal responsibility"

<menu> Label

Definitions and usage

<menu> Label definition Menu list. Use this label when you want to list form controls.

Differences between HTML 4.01 and HTML 5

In HTML 4.01, you are not in favor of using the menu element.

In HTML 5, http://www.aliyun.com/zixun/aggregation/18826.html > redefined the menu element and uses it to arrange form controls.

Tips and comments

Wind Network (www.ithov.com) Tip: Please use CSS to define the type of list.

Example

<menu>
<li><input type= "checkbox"/>red</li>
<li><input type= "checkbox"/>blue</li>
</menu>

Property

Property Value Description 4 5 Autosubmit True False if true, automatically commits when a form control changes. 5 compact compact_rendering not supported. Please use CSS instead.   4 Label MenuLabel defines a visible callout for the menu. The 5 Type Context Toolbar list definition shows that type of menu.   The default value is "list." 5

Standard properties

Class, Contenteditable, ContextMenu, dir, draggable, id, irrelevant, lang, ref, Registrationmark, TabIndex, template, For a complete description of the title, visit the standard properties in HTML 5.

Event Properties

Onabort, onbeforeunload, onblur, onchange, onclick, OnContextMenu, ondblclick, Ondrag, Ondragend, OnDragEnter, OnDragLeave, OnDragOver, ondragstart, OnDrop, OnError, onfocus, onkeydown, onkeypress, onkeyup, onload, OnMessage, OnMouseDown, OnMouseMove, onmouseover, onmouseout, onmouseup, OnMouseWheel, OnResize, Onscroll, Onselect, onsubmit, OnUnload for a complete description, visit the event properties in HTML 5.

Related Article

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.