+ 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 Respuestas
+ 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>