Return to Snippet

Revision: 3753
at September 12, 2007 01:56 by oskarlie


Updated Code
<?php

$content = <<<HTML
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi in sapien interdum purus volutpat placerat. Sed ornare nisi eu magna. Cras vulputate. Phasellus vel lorem vel magna placerat iaculis. Aenean tortor leo, ultricies ut, dictum non, blandit nec, odio. Morbi vel odio. Etiam venenatis turpis suscipit nibh. Suspendisse tincidunt, metus vel consequat gravida, neque enim egestas est, et interdum diam tellus vel lorem. In hac habitasse platea dictumst. Fusce vitae velit. Suspendisse a libero et risus imperdiet tincidunt.
HTML;

$html = <<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>title</title>
	<link rel="stylesheet" href="./css/screen.css" type="text/css" media="screen" />

</head>
<body>
<div id="wrap">
	$content
</div>
</body>
</html>
HTML;

echo $html;

?>

Revision: 3752
at September 12, 2007 01:55 by oskarlie


Initial Code

                                

Initial URL

                                

Initial Description

                                

Initial Title
heredoc xhtml 1.0 strict page template

Initial Tags
textmate, xhtml

Initial Language
PHP