Header_sample.php File
<!--
*** CODE SAMPLE: HTML HEAD SEGMENT ***
Created by Elizabeth Best
For how and where to use this code, please see 'index_sample.php'.
This segment contains the ending <head> tag due to the <title> tag being included in the index page and header sections of the HTML.
This is typically where most sites have their logo and other elements for the top of the page.
Code this header as you would normally in HTML, execpt make you sure you take note of how PHP is used in the 'href' and 'src' links.
-->
</head>
<body>
<!-- MY NOTES HERE -->
<header>
<a href=<?php echo DOC_ROOT ?> >
<img id="myLogo" src="<?php echo DOC_ROOT.'imgFolder/Logo.png' ?>" alt="My logo" /></a>
<a href=<?php echo DOC_ROOT ?> >
<div class="headerTextStyles">
<h1>My Website</h1>
<p>About Nonsense</p>
</div>
</a>
</header>