+ 6
How can I add external HTML
External CSS is like this: <link rel=âstylesheetâ href=âhttps//linkaddress.comâ <\link> How can I do external HTML?
2 Answers
+ 6
You could utilize iFrames for such purposes.
https://www.w3schools.com/html/html_iframe.asp
^Resource for it.
Best of luck!
+ 2
You can use PHP to directly include or require HTML files and implement them in other HTML files using the statements:
include(âfilename.htmlâ);
Or
require(âfilename.htmlâ);
For example:
<body>
<!â Include Navigational Bar â>
<?php
include(ânav/navbar.htmlâ);
?>
</body>