I have my navigation menu in a separate HTML file and I want to include this file in all my other pages. Is there a way to include my navi page into all my HTML files?
Just stick in that little gem of a line of code wherever you want the text from the html inserted...
Just make sure that the file that you are including doesn't include all the headers and other overhead that is already written at the top of the page you're including it on.
You could ask use JSP. (Java Server Pages). My company is switching from SSI to JSP because less server resources are used with JSP. But either way will work good.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.