"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"
<legend> Label
Definitions and usage
The <legend> tab defines the title for <fieldset>, <figure>, and <details> elements.
Differences between HTML 4.01 and HTML 5
In HTML 4.01, <legend> is used only for <fieldset> elements.
In HTML 5, <legend> tags are applied to <fieldset>, <figure>, and <details> elements.
Align properties are not supported in HTML 5. Please use CSS instead.
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, Ondraghttp://www.aliyun.com/zixun/aggregation/29841.html ">leave, 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, please visit the event properties in HTML 5.
Tiy instance around the fieldset of the data
This example shows how to draw a box with a caption around the data.
<html> <body> <fieldset> <legend> Wind Network (www.ithov.com) health information:</legend> <form> <label> Height: <input type= "Text"/></label> <label> Weight: <input type= "Text"/></label> </form> </fieldset> <p> if there is no border around the form, your browser is too old. </p> </body> </html>
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.