Skip to content

Instantly share code, notes, and snippets.

@h5ng
Created February 1, 2020 14:08
Show Gist options
  • Save h5ng/8b072af9c730591328b91c6f2d98b371 to your computer and use it in GitHub Desktop.
Save h5ng/8b072af9c730591328b91c6f2d98b371 to your computer and use it in GitHub Desktop.
w3-include-html
<html>
<link rel="stylesheet" href="index.css"/>
<script src="https://www.w3schools.com/lib/w3.js"></script>
<body>
<div w3-include-html="header.html"></div>
<div w3-include-html="content.html"></div>
<div w3-include-html="footer.html"></div>
<script>
w3.includeHTML();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment