"Unknown tag (main)" warning in JSP file in Eclipse
<p>I have this annoying behaviour with Eclipse where it warns me about the <code>&lt;main&gt;</code> element in my JSP file.</p>

<p>I've got <code>&lt;!DOCTYPE html&gt;</code> at the top of my page and I'm using several other HTML5 elements, such as <code>&lt;header&gt;</code> and <code>&lt;footer&gt;</code>, but Eclipse doesn't give a warning about these.</p>

<p>I tried switching off HTML and JSP syntax validation but that didn't seem to work.</p>

<p>I just don't understand why it has a problem with the <code>&lt;main&gt;</code> tag but not other HTML5 tags and that little yellow underline is SUPER irritating.</p>

<p>How can I get Eclipse to ignore this tag? </p>

<p>Thank you in advance for your answers.</p>