Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't there a risk of conflict with elements introduced in future versions of HTML?


New tags are given an "x-" prefix by default, so that's not an issue. That said, you can opt out of the prefixing by changing the namespace string - but even if you remove it and there is a tag created down the road of that name, it doesn't mean your stuff is sure to break.


It looks like you have to prefix the tag names you register with an x- in your html.


The prefix is added as a default, but can be changed or even removed - it's up to you, the developer.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: