You can use jQuery AJAX to load a file and use the document.write()
function to place the content in that gap.
Code:
<head>
...
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
</head>
<body>
...
<div>
<span>hi, welcome to the </span>
<script>
$.ajax({
async: false, // With this, you wait until the file is loaded
type: "GET", // If the file is large, use POST instead
url: "yoururl.txt", // Use the relative URL
dataType: "text",
success: function(LoadedFile) {
document.write(LoadedFile);
}
});
</script>
<span> season...</span>
</div>
...
</body>
NOTE: Use the
instead of the space " " to force your browser to use them.