Re:Imba: A new programming language for web apps
by SimeVidas on Thursday January 14, 2016 @12:50PM
(#10902980)
I think the HTML standard prohibits you from using non-standard tags like <clock> or <star>, unless they have a dash in them.
[ Parent
| on HN ]
Re:Imba: A new programming language for web apps
by sindreaa on Thursday January 14, 2016 @12:58PM
(#10903044)
As you can see from inspecting the examples, any non-standard tag will use standard tags in the dom, with a class denoting their imba type.
Re:Imba: A new programming language for web apps
by Kiro on Thursday January 14, 2016 @03:30PM
(#10904216)
This can't be true. I use non-standard tags without dashes all the time for my custom directives in Angular.
Re:Imba: A new programming language for web apps
by acoard on Saturday January 16, 2016 @02:05AM
(#10914581)
Non-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.