The HTML dialog element provides in-page dialog box functionality. A dialog exists in the DOM tree and can be styled using ordinary CSS.
Try gourgous knobs and see how it's made by checking out source code
Thought on HTML5 ads. Imagine you clicked on an beverage company's ad. Best viewed on mobile safari. Try shake your iPhone.