Hacker News new | ask | show | jobs
by culi 940 days ago
wow TIL `id`s can be used like that
1 comments

They get added as attributes to "document", they're not truly global: https://stackoverflow.com/questions/3434278/do-dom-tree-elem...

Part of why IDs are supposed to be unique on a page.