Quick tip: if you want to get the HTML for any web page you can use the PHP function file_get_contents(). To see the HTML in your web browser wrap the htmlentities function around the file_get_contents() function.
<?php echo htmlentities(file_get_contents('http://example.com'));
Which returns:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IANA — Example domains</title> <!-- start common-head --> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="/_css/2008.1/reset-fonts-grids.css" /> <link rel="stylesheet" type="text/css" media="screen" href="/_css/2008.1/screen.css" /> <link rel="stylesheet" type="text/css" media="print" href="/_css/2008.1/print.css" /> <link rel="shortcut icon" type="image/ico" href="/favicon.ico" /> <script type="text/javascript" src="/_js/prototype.js"></script> <script type="text/javascript" src="/_js/corners.js"></script> <script type="text/javascript" src="/_js/common.js"></script> <!-- end common-head --> </head> <body> <!-- start common-bodyhead --> .... <!-- end common-bodytail --> </body> </html>