What's Special About the HTML Main Tag?
-
Working in HTML, Notepad++ recognizes all of the standard HTML tags (including HTML5 semantic tags like <header>, <footer>, <section>, etc.) and colors them appropriately (for me, blue). With one exception: the <main> tag and its closure show up in the default text color (black).
Is this expected behavior? What’s special about the <main> tag?
-
must be related to something else, maybe html code, as a simple <main></main> works.
Do you have an example code when it fails?Cheers
Claudia