In this tutorial, we will learn JQuery UI Dialog Example

jQueryUI dialog method is used to create a basic dialog window inside the page. It has a title bar and a content area and can be moved, resized and closed with the ‘X’ icon by default.

Example :

<!doctype html>
<html lang="en">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>jQuery UI Dialog Example</title>
  <link rel="stylesheet" href="" integrity="sha256-rByPlHULObEjJ6XQxW/flG2r+22R5dKiAoef+aXWfik=" crossorigin="anonymous" />
  <script src=""></script>
  <script src=""></script>
  <h2>jQuery UI Dialog Example -</h2>
  <div id="dialog" title="Basic dialog">
    <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
  $( function() {
    $( "#dialog" ).dialog();
  } );

May this example help you.