You are currently using a web browser that does not support HTML 5 with style sheets. Please try the standard HTML 5, XHTML 1 or XHTML 1 Mobile version of this page instead.

The <dialog> Tag

The <dialog> tag in HTML 5

<dialog> Tag Syntax

Syntax of the <dialog> tag

Attributes of the <dialog> Tag

Attributes of the <dialog> tag

attribute
The attribute
common attributes
In addition to the attributes above, which are specific to the <dialog> tag, any of the common HTML attributes can also be used.
HTML 5 Examples

Examples of the dialog tag in HTML 5

<dialog>
<dt>Jill:</dt>
<dd>Are you OK, Jack?</dd>
<dt>Jack:</dt>
<dd>My head hurts. What happened?</dd>
<dt>Jill:</dt>
<dd>We went up that hill to fetch a pail of water.</dd>
<dd>But you fell down and broke your crown!</dd>
<dd>And then I came tumbling after.</dd>
</dialog>
Changes in HTML 5

What's new in HTML 5

Differences between HTML 5 and earlier versions

Last updated Saturday September 4, 2010


Printer-friendly PDF* format:

HTML <dialog> Tag

You are currently viewing this page in HTML 5 Style Sheet* format (* see Clicklets for more infomation). This document is also available in HTML 5 XML*HTML 5 non-XML*XHTML 1 Style Sheet*XHTML 1*XML* HTML 4* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.