Answers for "how to add another page to website html"

4

include html page in another html page

A simple server side include directive to include another file found in the same folder looks like this:

<!--#include virtual="a.html" --> 
Also you can try:

<!--#include file="a.html" -->
Posted by: Guest on June-04-2021
25

html add page to document

<nav>
  <ul>
    <li><a href="myPage.html">Main Page</a></li> <!-- Add a link to a website. -->
    <li><a href="myOtherPage.html">Other Page</a></li> <!-- Add a link to another website. -->
  </ul>
</nav>
Posted by: Guest on June-29-2020

Code answers related to "how to add another page to website html"

Browse Popular Code Answers by Language