Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    H

    HTML5 Doctor

    html5doctor.com · Publication · on HN since 2009

    HTML5 Doctor is a group site explaining HTML5 elements and APIs, with articles on semantics, video, and server-sent events.

    Visit blogHN submissions
    Web DevelopmentDesign & UX
    What HN says

    Commenters recommend it as a good resource for the correct use of semantic HTML5 elements, and one calls its element index a favourite.

    Stats for nerds
    65HN people shared it
    52linked in comments
    533story points
    May 2026last shared
    2010people per year2026

    Top posts on HN

    1. 1
      The ﹤main﹥ element
      2 people · 164 points · first shared 2013 · 91 comments on HN
    2. 2
      Start Implementing HTML5 Today
      7 people · 57 points · first shared 2009 · 11 comments on HN
    3. 3
      Server-Sent Events
      3 people · 50 points · first shared 2012 · 16 comments on HN
    4. 4
      Video + canvas = magic (2010)
      4 people · 43 points · first shared 2010 · 4 comments on HN
    5. 5
      The <nsfw> Element
      2 people · 41 points · first shared 2010 · 13 comments on HN
    6. 6
      Using Modernizr to detect HTML5 features and provide fallbacks
      1 person · 38 points · first shared 2012 · 1 comments on HN
    7. 7
      Storing Data the Simple HTML5 Way (and a few tricks you might not have known)
      1 person · 31 points · first shared 2011 · 8 comments on HN
    8. 8
      Avoiding common HTML5 mistakes
      3 people · 22 points · first shared 2011 · 5 comments on HN
    9. 9
      Interview with Ian Hickson, HTML editor
      4 people · 8 points · first shared 2013 · Discussion on HN
    10. 10
      Make any HTML element editable with "contenteditable" attribute
      2 people · 7 points · first shared 2012 · Discussion on HN

    What HN people wrote when they linked it

    • nostrademonsOct 2015

      You're looking for "<style scoped>", which is in Firefox, used to be in Chrome, but was eventually removed in favor of Shadow DOM.

      http://html5doctor.com/the-scoped-attribute/

      http://caniuse.com/#feat=style-scoped

      https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/scoped/blink-dev/R1x18ZLS5qQ/Bjuh_cENhlQJ

      I think the main reason webcomponents won out over scoped styles is because usually once you need to scope your styles, you find you also need to scope your querySelector calls, and your DOM traversals, and your IDs....and pretty soon you have shadow DOM. It's unlikely that you need style namespacing if you're just a single dev working on a static page, and it's unlikely that you won't need JS & DOM scoping if your product grows beyond that.

    • currysausageApr 2016

      Kinda. WHATWG (who do the actual work on HTML) have dropped the version number and made HTML a living standard: https://html.spec.whatwg.org/multipage/

      See also the FAQ: https://wiki.whatwg.org/wiki/FAQ#What_does_.22Living_Standard.22_mean.3F

      And this quote by Hixie: "You know what will be around ten years from now by looking at what is implemented in two browsers today. If it’s implemented in two browsers today, I can almost guarantee it’ll still be around in ten years. If it’s not, all bets are off. This has nothing to do with “living standard” vs. versioned specs, though. HTML4 has all kinds of features that aren’t in HTML anymore — for example, <object declare> and <a coords>." (http://html5doctor.com/interview-with-ian-hickson-html-editor/)

    • notpushkinAug 2024

      > Take headings, for example: in component-based development, I often don't know (and shouldn't care) what level a heading is in my reusable widget, but I am forced to choose regardless.

      We could have used <h1>s everywhere with Document Outline:

      <body> <h1>top level heading (parent sectioning element is body)</h1> <section> <h1>2nd level heading (nested within one sectioning element)</h1> ... </section> </body> Unfortunately, this was never implemented in browsers and was removed in HTML 5.1.

      https://html5doctor.com/computer-says-no-to-html5-document-outline/

    • loupeabodyJun 2013

      I feel like this sentiment has been bubbling under the surface of my thought process every time I open up my editor. I've never taken the time to scrutinize that feeling though, too busy stressing over the details of whatever I'm making.

      Perhaps only tangentially related, but our workflows are significantly related to the technologies we use, right? Ian Hickson in an interview [0]

      "The Web technology stack is a complete mess. The problem is: what would you replace it with?"

      [0]http://html5doctor.com/interview-with-ian-hickson-html-editor/

    • boredpuddingFeb 2017

      > A heading is a line of text providing a title for a section.

      Which is exactly what <header> is trying to be.

      > …introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids.

      > When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page.

      Source: http://html5doctor.com/the-header-element/ (quoted from the actual spec)

    • schiffernJul 2013

      >There is probably some HTML5 history API way to do it that lets me have back and forward without saving every history entry, I'll look into it.

      Do you mean the Back & Forward buttons in the browser?

      If you can go back/forward to different states, why wouldn't those show up as history entries? I don't think you can decouple the displayed "history" drop-down list from the behavior of the back/forward buttons (for reasons that are probably obvious).

      http://html5doctor.com/history-api/

    Related

    Paul Irishpaulirish.com127 people

    * { box-sizing: border-box } FTW

    Paul Irish
    Personal · last shared 2025
    A List Apartalistapart.com667 people

    The future of web software is HTML over WebSockets

    A List Apart
    Publication · last shared 2026
    Performance Calendarcalendar.perfplanet.com123 people

    HTML and CSS techniques to reduce your JavaScript

    Performance Calendar
    Publication · last shared 2026
    Henri Sivonenhsivonen.fi47 people

    String Lengths in Unicode

    Henri Sivonen
    Personal · last shared 2025
    Jake Archibaldjakearchibald.com191 people

    I discovered a browser bug

    Jake Archibald
    Personal · last shared 2026
    Ajaxianajaxian.com177 people

    Want to pack JS and CSS really well? Convert it to a PNG

    Ajaxian
    Publication · last shared 2023
    Pony Fooponyfoo.com54 people

    The Controversial State of JavaScript Tooling

    Pony Foo
    Personal · last shared 2022
    Mike Caulfieldhapgood.us33 people

    There’s a simple alternative to the current web

    Mike Caulfield
    Personal · last shared 2026