Code and Output for dialog:

Code:

    <!DOCTYPE html>
    <html>
    <head>
      <title>HTML Example</title>
    </head>
    <body>
      <h1>App Genesis soft solutions pvt ltd</h1>
      <h1>The dialog element</h1>
      <p>This is some text.</p>
      <p>This is some text.</p>
      <dialog open>This is an open dialog window
      <p>This is some text.</p>
      <p>This is some text.</p>
    </body>
    </html>
  

Output:

App Genesis soft solutions pvt ltd

The dialog element

This is some text.

This is some text.

This is an open dialog window

This is some text.

This is some text.