Reputation: 21
I have a multiple html files in one file:
<html>
<body>
</body>
</html>
<html>
<body>
</body>
</html>
<html>
<body>
</body>
</html>
and the result is that I get a messed up html file. How to correct this without removing tags from the rest. I am using python to generate the html file. If I use the self.response.out.write(function(query))
I get a nice html page.
If I use it a second time self.response.out.write(function(query2))
then the page gets distorted.
Upvotes: 2
Views: 283
Reputation: 98796
Have one HTML file per file. Anything else is invalid and won’t be processed properly.
If you’re not sure if your HTML files are valid, the W3C’s validator will tell you.
Upvotes: 3