Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="../../code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css"> <script src="../../code.jquery.com/jquery-1.8.3.min.js"></script> <script src="../../code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script> </head> <body> <div data-role="page" id="pageone"> <div data-role="header"> <h1>Welcome To My Homepage</h1> </div> <div data-role="content"> <p>This is a standard page.</p> <a href="#pagetwo" data-rel="dialog">Go To The Themed Dialog Page</a> </div> <div data-role="footer"> <h1>Footer Text</h1> </div> </div> <div data-role="page" id="pagetwo" data-overlay-theme="e"> <div data-role="header" data-theme="b"> <h1>I'm A Themed Dialog Box!</h1> </div> <div data-role="content" data-theme="a"> <p>The data-overlay-theme attribute specifies the background color of the page that the dialog box appears on top of.</p> <a href="#pageone">Go to Page One</a> </div> <div data-role="footer" data-theme="c"> <h1>Footer Text</h1> </div> </div> </body> </html>
Result:
W3Schools.com - Try it yourself