Answers for "how to link other html files"

0

include another html file in a html file

<html> 
  <head> 
    <script src="jquery.js"></script> 
    <script> 
    $(function(){
      $("#includeContent").load("fileName.html"); 
    });
    </script> 
  </head> 

  <body> 
     <div id="includeContent"></div>
  </body> 
</html>
Posted by: Guest on February-24-2021

Code answers related to "how to link other html files"

Browse Popular Code Answers by Language