How to compare a two files line by line and then word by word. Also we need to highlight the mismatched words in output : <p>How to compare a two files line by line and then word by word. Also we need to highlight the mismatched words in output.</p>

<p>I need to write this in Java and create a HTML file.</p>
