⚠️ This repository is no longer updated. The repository will not recieve bugfixes or security updates, as a result of this I do not recommend using this code in a production environment.
Small JS Script that includes HTML files.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Include.js Example</title>
</head>
<body>
<div include="log.html"></div>
<script src="https://cdn.jsdelivr.net/gh/lewmilburn/Include.js@1.0.2/main.min.js"></script><script>include();</script>
</body>
</html>