- Joined
- Apr 29, 2006
- Messages
- 4,576
- Reaction score
- 378
- Points
- 83
- Location
- St. Somewhere
- Your Mac's Specs
- Mac Studio, M1 Max, 32 GB RAM, 2 TB SSD
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?
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?