View Single Post
mac57

 
mac57's Avatar
 
Member Since: Apr 29, 2006
Location: St. Somewhere
Posts: 4,560
mac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant futuremac57 has a brilliant future
Mac Specs: iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM

mac57 is offline
A noob web page coder's question:

I am "hand coding" a new web site in HTML, which I have learned by reading the very helpful book "HTML Goodies". Being "self taught", there seem to be a few gaps in my knowledge!

A key one is this. My web site will have numerous pages, and they will all have an identical navigation pane that allows you to move between pages. Rather than copy the HTML code for this panel over and over into each page's source, I would like to write up this page section as a separate HTML file and somehow include into each page's source, rather like the #include directive does in C/C++ source code.

Is there a way to do this in HTML?

My Macs: iMac 27" 3.4 GHz, Mac Pro 3.2 GHz, PowerMac G5 Quad 2.5 GHz, G4 Cube with 1.2 GHz Upgrade
My iStuff: 64GB iPhone 5, 64GB iPad4, 30GB iPod Video, 16GB iPod Touch
My OS': Mac OS X Lion, Mac OS X Snow Leopard, Mac OS X Tiger, Mac OS 9.2.2, openSUSE 10.3
I was on the Mac-Forums honor roll for September 2007
QUOTE Thanks