You can use an online service to fix your HTML file because it seems that you have some tags left open which need to be closed for the HTML can work correctly.
Use Notepad or any other text editor to open the file and paste the code into the box found on the website and click on Fix it button. All the mistakes will be fixed.