Answer the question
In order to leave comments, you need to log in
Angularjs. Creation of new elements and attributes. Is it correct?
I understand that angular extends the declarativeness of html. But is it right in html to create a lot of unknowns, for the validator, elements and attributes? After all for these purposes there is xml.
Answer the question
In order to leave comments, you need to log in
If we are talking about HTML4 then yes, not good. From the point of view of HTML5, custom elements are common, but in the case of attributes, it is enough to add data-* and everything will be valid again.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question