-
Which element represents a dialog box?
-
- <summary>
- <menu>
- <menuitem>
- <dialog>
- None of these
Correct Option: D
<dialog> element in HTML represents a dialog box or other interactive component like window or an inspector. This element includes global attributes. The tableindex attribute must not be used on <dialog> element. <menuitem> represents a command which helps user to pop up through menu. <menu> is a group of commands which is used to perform something. <summary> element provides summary of element.