<!doctype html> <html> <head> <meta charset="utf-8"> <title>JavaScript window.location Example</title> </head> <body> <div id="info"></div> <script src="location.js"></script> </body> </html>