HTML Question
Posted: Tue Jun 10, 2008 7:02 pm
Is it possible for an html file to use contents from another html file? I am asking this because i know my website is probably going to have about 30 + pages, and i dont feel like editing them all everytime i add a new page. So i was wondering, Is there a code like the following that will use contents from another html file.
And the links.html would inclue this:
So then if all my pages were linked with links.html, I could edit all my links with this one file instead of editing all my pages.
So heres my question: Is this possible at all?
Code: Select all
<!-- NAVIGATION STARTS HERE -->
<table border="0" cellpadding="0"cellspacing="0" width="100%">
<tbody>
<link rel="contents" type="text/html" href="./links.html" />
</tbody>
</table>
<!-- NAVIGATION ENDS HERE -->
Code: Select all
<tr>
<td class="navleft" width="2" height="0"></td>
<td class="navmiddle" align="center"><a href="./index.html">Home</a></td>
<td class="navright" width="2"></td></tr><tr>
<td class="navleft" width="2" height="0"></td>
<td class="navmiddle" align="center"><a href="./programs.html">Programs</a></td>
<td class="navright" width="2"></td></tr><tr>
<td class="navleft" width="2" height="0"></td>
<td class="navmiddle" align="center"><a href="./information.html">Information</a></td>
<td class="navright" width="2"></td></tr>
So heres my question: Is this possible at all?