Include HTML files into your web page

How to include HTML snippets in HTML.

In the past I have used PHP include to include things like menus and footers into my web pages. But there is another way to do it that does not require a PHP server.

<!DOCTYPE html>
<script src=””></script>


<div w3-include-html=”content.html”></div>



Leave a Comment