The New Dialog Element of HTML 5.2

The recent standard HTML 5.2 brings us a new element called 

. This allows us to create modal dialog boxes which can be made interactive with a bit of JavaScript. Using the element is very simple, with its basic form looking like this: <dialog open=”"> This is a dialog box! </dialog> The additional attribute “open” makes…