I have this annoying behaviour with Eclipse where it warns me about the <main>
element in my JSP file.
I've got <!DOCTYPE html>
at the top of my page and I'm using several other HTML5 elements, such as <header>
and <footer>
, but Eclipse doesn't give a warning about these.
I tried switching off HTML and JSP syntax validation but that didn't seem to work.
I just don't understand why it has a problem with the <main>
tag but not other HTML5 tags and that little yellow underline is SUPER irritating.
How can I get Eclipse to ignore this tag?
Thank you in advance for your answers.