Enter HTML5 entry to proficient:<dl> label

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

<dl> Label

Definitions and usage

<dl> label defines a list of definitions.

Differences between HTML 4.01 and HTML 5

No。

<dl>
<dt>Coffee</dt>
<dd>black Hot drink</dd>
<dt>Milk</dt>
<dd>white Cold drink</dd>
</dl>

Property

Standard properties

Class, Contenteditable, ContextMenu, dir, draggable, id, irrelevant, lang, ref, Registrationmark, TabIndex, template, For a complete description of the title, please 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 instances, defining lists

How to create a definition list.

<html>
<body>
<h2> a definition list:</h2>
<dl>
<dt> Computer </dt>
<dd> Instruments for calculation ... Wind Network (www.ithov.com) ...</dd>
<dt> Monitor </dt>
<dd> devices for visually displaying information ... Wind Network ...</dd>
</dl>
</body>
</html>

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.