www.webdeveloper.com
Results 1 to 5 of 5

Thread: <main>?

  1. #1
    Join Date
    Jun 2014
    Posts
    2

    <main>?

    Hey.
    I was looking all over the web but i dint found anything. Is the tag <main> still good to use?

  2. #2
    Join Date
    Mar 2011
    Posts
    1,139
    <main> is part of the HTML 5 specification, so you can use it.
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    May 2014
    Posts
    915
    As part of HTML 5, I'd say don't waste your time as much like header, article, aside, nav and footer, it's just more code bloat designed to justify sleazy practices of wrapping extra tags like DIV around things for no reason, and introducing all new redundancies to the specification just like HTML 3.2 (or worse, the non-W3C stuff that was stuffed into 4 transitional) from over a decade and a half ago.

    MAIN is meant for "aria roles" -- which is just more inefficient data-scraper bull; the laugh being I thought data scraping content thieves were something site owners wanted to fight, not encourage and make easier -- much less sooner or later you HAVE to let your content do the talking instead of the markup; and that's coming from the point of view of a stickler for semantic markup.

    There's a reason I call 5 the "new transitional", and do not advocate it's use unless you are building an html applet and want to use MANIFEST, or have to because Apple is a bunch of jerks to third party vendors and freetards at the FSF have their socialist agenda... I am of course referring to AUDIO and VIDEO
    Java is to JavaScript as Ham is to Hamburger.

  4. #4
    Join Date
    Jun 2014
    Posts
    2
    Ok thanks, i was just not sure becouse in my editor in the function "canIuse" it was showing <main> is not supported by any browser.

  5. #5
    Join Date
    May 2014
    Posts
    1
    I personally wouldn't bother with <main>, for it seems like they just added the <main> tag so people can code that is even more messy than ever.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles