Html 5 dialog Tag: defines special terms or phrases, and dialog tag

Source: Internet
Author: User

Html 5 dialog Tag: defines special terms or phrases, and dialog tag

In html5, the <dialog> label defines special terms or phrases. Here, the host introduces the <dialog> label usage, <dialog> label attributes, and <dialog> label Application Instances in detail.

<Dialog> label usage:

Defines a dialog box or window.

<Dialog> label attributes:

 

Attribute Value Description
Open H5 Open Specifies that the dialog element is active and the user can interact with it.

 

H5: new attribute in HTML5.

<Dialog> tag application instance:

 

<Table border = "1"> <tr> <th> January <dialog open> This is the dialog window that opens </dialog> </th> <th> February </th> <th> March </th> </tr> <td> 31 </td> <td> 28 </td> <td> 31 </td> </tr> </table>

 

Which browsers support <dialog> labels?

Currently, only Chrome and Safari6 support the <dialog> label.

HTML5 had the <dialog> Label Standard in 2013. However, up to now, there are still less than half of browsers (chrome, opera) supported.

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.