Answers for "import html from another file"

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 "import html from another file"

Browse Popular Code Answers by Language