W3-Video WEB Tutorials

w3-video.com is a Free eLearning Website with over 500 video tutorials on HTML5, XAMPP, .htaccess, Firefox, Notepad++

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

dialog ... ⁄dialog

Share it

dialog intro dialog parents - children

HTML5 dialog element

The dialog element allows you to mark up the part of an application that allows user interaction, like: a dialog box, inspector, window.

About dialog

Parents, children dialog

Attributes dialog

Syntax dialog

1<dialog> ... </dialog>

Attributes and Values dialog (comma separated)

<dialogattribute="attribute_value(s)"> Video Examples
1. specific attributes
1.open="",  , open-<dialog open> ... <⁄dialog>
All Specific Attributes
2. global attributes
1.accesskey=keyboard key»img<dialog accesskey="h"> ... </dialog>
2.class=class name»html »img<dialog class="class_name"> ... </dialog>
3.contenteditable="",  , true, false »html<dialog contenteditable="true"> ... </dialog>
4.contextmenu=menu id value»html<dialog contextmenu="menu_id_value"> ... </dialog>
5.data-*= value -<dialog data-http-error="404"> ... </dialog>
6.dir=ltr, rtl, auto»html<dialog dir="ltr"> ... </dialog>
7.draggable= true,  , false»img<dialog draggable="false"> ... </dialog>
8.dropzone= copy, move, link, string:, file: -<dialog dropzone="copy"> ... </dialog>
9.hidden= "",  , hidden»html »img<dialog hidden="hidden"> ... </dialog>
10.id=id name»html »img<dialog id="unique_id_name"> ... </dialog>
11.itemid= URL --
12.itemprop= string »link »a-
13.itemref= string --
14.itemscope= "",  , itemscope--
15.itemtype= absolute URL --
16.lang=language code »html »head»title »img<dialog lang="en"> ... </dialog>
17.spellcheck="",  , true, false»html<dialog spellcheck="true"> ... </dialog>
18.style=CSS property:value»html »img<dialog style="color:red"> ... </dialog>
19.tabindex= integer »img<dialog tabindex="3"> ... </dialog>
20.title=text»html »link»style »abbr»dfn
»img »meter
<dialog title="html page"> ... </dialog>
21.translate="", yes, no»html »img<dialog translate="yes"> ... </dialog>
All Global Attributes
3. global event attributes
1.onclick=script» list<element onclick="script" > ...
2.ondblclick=script» list<element ondblclick="script" > ...
All Event Attributes

For more information about the dialog element, please see the specs: W3CWHATWG