Pr.Pg Next Pg

<DIALOG>..</DIALOG> tag tutorials

  • The <DIALOG> tag defines a dialog box, inceptor, or window.

  • The <DIALOG> tag is currently only supported in Chrome, and Safari 6.

  • <DIALOG> tag attribute are listed below:

 

Sr No

Attributes

Descriptions

1

Open

This attribute specify that the dialog element is active and that the user can interact with it.

2

ID

This attribute specify a unique id for an element in document.

3

Style

This attribute specify an inline CSS style for an element.

4

Title

This attribute specify extra information about an element.

5

Draggable

This attribute specify whether an element is draggable or not.

6

Hidden

This attribute specify that an element is not yet, or is no longer, relevant

 

Syntax:

<body>

<dialog>some text</dialog>

</body>

 

Example: HTML program to demonstrate different dialogs

Output:
Pr.Pg border                                              Next Pg