node.js - Loading html in a similar way to PHP : <p>I am learning Node.js for website development.<br>
Previously I could use PHP to include something like a navigation bar on every page, using <code>&lt;?php include('blah.php') ?&gt;</code>. This works in the same way of me just using the actual code on the page.<br>
My question is: is there any way to import HTML elements / pages from one page to another with JS / Node.js?<br>
Bearing in mind, PHP integrates directly with HTML in the same file, and Node.js does not integrate so seamlessly, so what I'm asking might be impossible.</p>
