What's Special About the HTML Main Tag?
Daniel Collins last edited by Daniel Collins
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?
Claudia Frank last edited by
must be related to something else, maybe html code, as a simple <main></main> works.
Do you have an example code when it fails?