Creating a Template
Here is the easiest lesson yet!
The following code creates this web page.
<? include ("templates/header.php"); ?>
<!-- Content Provider - Do not edit anything above this line --->
<? $pagetitle = "Hartnell College"; ?>
<DIV class="subheading">Subheading goes here</DIV>
<br>
<DIV class="paragraph">A new paragraph goes here</DIV>
<br>
<b>Bold makes a good paragraph title</b>
<br><br>
Content goes here without any style tags.
<!-- Content Provider - Do not edit anything below this line --->
<? include ("templates/footer.php"); ?>
<!-- Content Provider - Do not edit anything above this line --->
<? $pagetitle = "Hartnell College"; ?>
<DIV class="subheading">Subheading goes here</DIV>
<br>
<DIV class="paragraph">A new paragraph goes here</DIV>
<br>
<b>Bold makes a good paragraph title</b>
<br><br>
Content goes here without any style tags.
<!-- Content Provider - Do not edit anything below this line --->
<? include ("templates/footer.php"); ?>
To create your own working template follow these 3 easy steps:
1) Just Highlight the code;
2) Copy (CTRL-C) and Paste (CTRL-V) it to a blank page in your HTML Editor.
3) Name it template.html, Save it and View the url in your browser!!
Advanced Lesson
Now personalize the information within your template, just change the text!
