Posts Tagged ‘include’

Common HTML Content

Tuesday, July 29th, 2008

The easiest way to add common content to all your web pages is to place that content into a separate file to be included into all the HTML pages before the pages are sent to the browser. How you do this depends on which server side languages you have available on your web server. In this tutorial we look at the command you need to use and naming convention needed for the page if you can use SSI or PHP.

Common HTML Content

Absolute and Relative

Monday, June 30th, 2008

When coding your web pages there are two ways to specify the address of other files that you want the page to reference. You can use absolute addresses that include the domain name or relative addresses that don’t. Obviously external references need to use absolute addresses but internal ones are better done using relative references. You just need to work out where each reference is relative to.

Absolute and Relative