WordPress Theme Development Showing HTML/PHP codes directly to the frontpage
While developing your own theme, you may do some syntax errors. I mean, you may missed to close certain tags properly. Which will lead you to see Either HTML Code or PHP code on your front page screen . We are not sure, where we missed to close the tags properly. Which will make you to take time to decode it.
The easy way is to find out the line on your themes source files which you get on the front page. The Another way is to use a HTML Validator to find the line now. So you can open your necessary file and get the line easily .
Many of use missed to configure the HTML Tags Properly, Thats only reason for getting the HTML files on direct front page.