| How do I create a template for all of my pages? |
| User Opinions |
|
No users have voted.
|
|
Thank you for rating this answer.
|
For beginners and many pros, the best way to provide a consistent set of navigation links and similar content on every page is to use server side include directives. These are supported by virtually all web hosting providers, except for free hosting services, and may in some cases be allowed there. For example, if the file navigation.html in your top-level web page folder contains navigation links, you can include it at any point in a page using this directive: < !-- # include virtual = " /navigation.html " -->
Note that navigation.html should not be a full-blown HTML page with elements like and . Instead it should contain only the content you want to insert at that point in the layout of the pages that include it.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Attachments |
|
No attachments were found.
|