12.09.2015 Views

Boot Camp

Web Authoring Boot Camp - StudioBast

Web Authoring Boot Camp - StudioBast

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Template Page<br />

16<br />

Template Page<br />

We’ve looked at a lot of bits and pieces, so let’s start putting them together. We’ll do this<br />

by creating a simple table-structured template page which will use a combination of the<br />

things we’ve covered. This way you can see XHTML and CS in action. In this case, we’ll<br />

look at template code for the Adopt-A-Furry-Friends concept mentioned earlier.<br />

When you start building your web project, a template page is a seriously great first page.<br />

While it’s tempting to jump in and start coding your index.html home page, starting with<br />

a template page is more effective. This allows you to work through your comp layout and<br />

coding kinds in a “safe” file, without the distractions of the content you will really need<br />

to insert for the website.<br />

Use a basic template page to structure your site, prelink your navigation, set up your<br />

working footer, add head section styles and/or attach CSS links, add head section scripting,<br />

and set placeholders for your real text. Use it also to code all your basic text and link<br />

elements, so you can see in one place how all your headings, paragraph, list, and other<br />

text will look. This way you can make changes that affect this one file, get it set up the<br />

way you really want it, then use it as a template for your real website pages table data cell<br />

borders so you can see how this looks.<br />

Navigation Pre-linking<br />

As you’ll see, we will set up some links for the navigation to be used on the web pages<br />

in this web project. These links would be based on the pages you anticipate building for<br />

the website project, based on the graphic site map you would have created in your project<br />

planning stage.<br />

The reason you will do this in a template page is so that when you replicate the template<br />

for actual page building, you will have the links already in place. You can pre-link even<br />

though the pages to be linked to have not yet been created. You can do this for your main<br />

navigation links to your website pages, your footer navigation, your logo, and your Back<br />

to Top links.<br />

159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!