> Home > Tutorial > Center > Home_page

Creating your Home Page

This Lesson begins by creating a template page and then Customizing it. If you have already created a template for your web directory skip down to "Customizing your Page".

To create a Template for your directory follow these 3 easy steps:

1) Just Highlight the following code;
  • click once at the beginning of the code

  • right click and hold

  • scroll to the end of the code.

  • <? 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"); ?>



    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!!


    Customizing Your Home Page

    Now personalize the information within your template, just change the text!
    Change "Subheading goes here" to "Welcome to my Home Page!"

    Change "A new paragraph goes here" to a paragraph about you!

    Delete the line <b>Bold makes a good paragraph title</b>

    Change "Content goes here without any style tags." to any additional content you want. To add a new line break just type <br>


    Save it (save often) and View your new Home Page!