When inspecting the DOM on a web page created by Angular I see many non-standard HTML elements. E.g. inspect the Angular documentation on custom elements. What are these non-standard HTML elements? Examples of non-standard elements in the link: aio-shell
and mat-toolbar
.
The closest thing I can think of is custom elements from web components but I haven't found documentation that states all Angular components will automatically be compiled to custom elements. Angular supports creating custom elements but from the documentation it seems one has to import @angular/elements
and call createCustomElement
and I have a project where I have done neither of these and still see the non-standard HTML elements in the DOM.
I can mention that I am used to React which as far as I know only outputs standard HTML elements.