CD label of HTML5 Learning Series

Source: Internet
Author: User

First, the old label:

(1)<em> <strong> <dfn> <code> <samp> <kbd> <var> <cite> tags

Function: The above elements are all phrase elements. Do not return to use them, but you may get richer results by using style sheets.

<em>: rendered as stressed text; <strong>: Definition of important text; <dfn>: Define a definition project; <code>: Define computer code text; <samp>: Define sample text; <kbd>: Defines the keyboard text, which indicates that the text is typed from the keyboard; <var>: Defines variables that can be used in conjunction with <pre> and <code> tags; <cite>: Defining references, References can be defined using tags.

(2) <col> label

Function: Defines a property for one or more columns in a table, which can only be used in a table or column group.

Note: The col element is an empty element. If you need to create a column, you must specify the TD element in the TR element.

Tip: If you need to define a property value for one or more columns, use this element if you need a column group to specify the same properties use the <colgroup> element

(3) <colgroup> label

Function: Define the groups of table columns and group columns to format them.

Note: The Colgroup element can contain only col elements; the colgroup element is an empty element. If you need to create a column, you must specify the TD element in the TR element.

(4) <dl> label

Role: Define a list of definitions

(5) <dt> label

The <dt> tag defines an item in a definition list, as well as a role in dialog.

Second, the new label

(1) <canvas> label

Role: canvas, defining graphics, benchmarking and other images

Use: Defines a drawing environment object that is obtained through the GetContext () method of the canvas. A path is defined by a series of methods.

Properties: Width and height.

(2) <command> label

Definition: A command button, such as a radio button, a check box, or a button. not currently supported

Properties: The Checked:true|false definition is selected and is used only for radio or checkbox types.

Default:true|false If the ture is active. When used only when the command is in a menu

Disabled True|false is available; Hidden:true|false is visible;

Icon:url defines the URL of an image to display as a command

Label:name name; Radiogroup: Defines the name of the Radiogroup to which the command belongs. Only used when the type is radio.

Type:checkbox, command, radio: definition type;

(3) <datagrid> label

Function: Defines a list of optional data to display as a tree list

Property: Disabled:true|false True to disable

Multiple:true|false If True, you can select more than one item in the DataGrid

(4)<datalist> label

Function: Defines a list of optional data, used in conjunction with the INPUT element, to make a drop-down list of input values

Properties: Data:value for automatically inserting data.

(5) <datatemplate> Tags: do not know how to use

Role: A container that defines a data template that must have a child element that defines the template:<rule> element

(6) <dd> label

Role: Define the description of the item in the list

(7) <del> Tags:

Role: Defines the text that has been deleted in the document.

Tip: Use with <ins> to describe updates and corrections in a document

Effect: The text will be crossed out

(8) <details> label

Function: Define the details of an element to view or hide

Properties: Open True|false defines whether details are visible and defaults to False

(9) <dialog> Tags: only chrome support

Role: Define a Dialog

Tip: Each sentence in a conversation must be part of the <dt> tag;

CD label of HTML5 Learning Series

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.