HTML5 series of NOP tags

Source: Internet
Author: User

Old Tags:

(1) <noscript> label

Role: A browser used to define alternative content (text) that can be used to identify <noscript> tag but cannot support scripts when the script is not executed

(2) <object> label

Role: Define an embedded object, use this element to add multimedia to your XHTML page. This element allows you to specify the data and parameters for inserting objects in an HTML document, as well as code that can be used to display and manipulate the data.

<object> tags are used to include objects, images, audio, video, Java applets, ActiveX, PDF, and Flash.

Object support for the browser depends on the object type. Unfortunately, mainstream browsers use different code to load the same object type.

Fortunately, object objects provide a solution. If the object element is not displayed, the code between <object> and </object> is executed. In this way, we can nest multiple object elements (each corresponding to a browser).

Property:

Data: Specifies the resource URL used by the object.

Form: One or more forms that the specified object belongs to

Height: Specifies the altitude of the object

Name: Specify the names for the object.

Type: Specifies the specified MIME type in the Data property

Usemap: Specifies the name of the client image map used with the object

Width: Specifies the length of the object.

(3) <ol> label

Function: Defines an ordered list that is displayed as a number.

Property:

Reversed:reversed specifying the list in reverse

(4) <optgroup> label

Function: Often used to group related options together. If you have a lot of option combinations, you can use the <optgroup> tab to easily group related options together. Mainly for select inside

Property: disabled:disabled Disabled

Label:text Specify the description for the option group

(5) <option> label

Function: Defines an option in the drop-down list, used as a <select> or an <datalist> element.

Property: Disabled disabled is disabled

Label:text defining annotations

selected:selected The specified option is selected

Value:text defining option values to send to the server

(6) <p> label

Role: Define a paragraph

(7) <param> label

Function: Allows you to specify the Run-time setting for the object in which the XHTML document is inserted, providing parameters for the <object> or <applet> tags that contain it.

Properties: Name: Parameter names

Value: Parameter value

(8) <pre> label

Function: Defines pre-formatted text, and text that is enclosed in the <pre> tag element usually preserves spaces and line breaks. The text is also rendered as an equal-width font.

New Tags:

(1) <nav> label

Function: Defines the part of the navigation link

(2) <output> label

Function: Output As a result of the calculation (such as the output of the execution script)

Properties: For element_id describes the relationship between the elements used in the calculation and the results of the calculation

form:form_id define one or more forms to which the output field belongs

Name:name a unique name for the defined object (used when the form is submitted)

The instance code involved:

<! DOCTYPE html>

  

HTML5 series of NOP tags

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.