3 ms·
This can't be true. I use non-standard tags without dashes all the time for my custom directives in Angular.
by Kiro 11y ago
This can't be true. I use non-standard tags without dashes all the time for my custom directives in Angular.
- SimeVidas 11y agoI understand that it works in browsers. My point is about the HTML Standard disallowing it.
- acoard 11y agoNon-standard tags generally work in all browsers modern, but they aren't part of the spec. It's just like custom attributes which don't start with `data-`. They're recognized and work, but not strictly speaking legal. Your code fill fail HTML5 validation tests.