The "About Me" page is relatively straightforward. We just open the layout.html file we created in Chapter 18, change the title, save the file as aboutme.html, and start adding our content.
Click here if you'd like to see the completed page we're creating in this chapter.
This page will consist of just a few pieces:
- Header graphic/link
- A New Navigation Table
- A New Graphic
- Paragraphs of Text
- Bottom navigation
Here's the code so far, notice I changed the title:
Dave Kristula's Internet Home - About Me
This page is going to look a bit like our main page, but instead of a picture on the left and a heading of text on the right, we're going to have a Navigation area on the left and a picture on the right. Instead of re-inventing the wheel, I'm going to copy the table from our main page.
I copied the code and modified it:
Please notice the <br> after each link--this makes each link fall on a new line, instead of beside each other.
Also note that I've added a link to index.html around the text "Home" and that there is no link around "About Me"--we're going to edit every page that follows in the same way: deleting the link around the current page, and adding a link around every other one. It's a simple copy and paste.
The picture is straightforward, I just added a <br> to add a "caption" under it.
Here's what our new navigation area and picture look like:
After this table, I copied and pasted my life's story (just kidding--I don't give that away free!) from Microsoft Word and added a <p> before each paragraph and a </p> after each paragraph.
You'll be able to read my short autobiography when you view the page at the end of the chapter.