I have this annoying behavior with Eclipse where it warns me about an element <main>in my JSP file.
I have one <!DOCTYPE html>at the top of my page and I am using several other HTML5 elements, such as <header>and <footer>, but Eclipse does not give a warning about this.
I tried disabling HTML and JSP syntax checking, but this does not seem to work.
I just don’t understand why it has a problem with the tag <main>, but not with other HTML5 tags, and that the little yellow underline is annoying SUPER.
How can I make Eclipse ignore this tag?
Thank you in advance for your answers.
source
share