Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    What's Special About the HTML Main Tag?

    General Discussion
    2
    2
    1796
    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 Collins
      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 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        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
        Copyright © 2014 NodeBB Forums | Contributors