JTidyPlugin integrates the HTML Tidy utility into jEdit. JTidyPlugin will help you check for errors in your HTML/XML files and also correct them.