On my website, I have a picture banner at the top that I got from a web service. To make editing easier, I import the header.html code into the home.html file. The banner displays perfectly when I run header.html, but not when I run home.html. When I inspect element, I see space reserved for the banner but no content is visible.
Here is the code for home.html:
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Saisentan Music</title>
<meta name="home page" content="Epic Orchestral Music by Taylor Barton">
<link rel="stylesheet" href="style.css">
</head>
<body>
<script src="https://www.w3schools.com/lib/w3.js"></script>
<div w3-include-html="header.html"></div>
<script>w3.includeHTML();</script>
HOME
</body>
I will provide a link to the lengthy and hard-to-read header code document below, along with screenshots of both home.html and header.html: