Community
    • Login

    What's Special About the HTML Main Tag?

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Daniel CollinsD
      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 FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Daniel Collins
        last edited by

        @Daniel-Collins

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors