How to find the unclosed div tag

user503853 picture user503853 · Jun 8, 2011 · Viewed 141k times · Source

A unclosed div problem almost make me crazy. It is very difficult to track especially when the page is long and complex.

Any suggestions?

Answer

Jonathan Aquino picture Jonathan Aquino · May 17, 2013

I made an online tool called Unclosed Tag Finder which will do what you need.

Paste in your HTML, and it will give you output like "Closing tag on line 188 does not match open tag on line 62."

Update: The new location of the Unclosed Tag Finder is https://jonaquino.blogspot.com/2013/05/unclosed-tag-finder.html