Answers for "include other html file in 1"

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

Browse Popular Code Answers by Language