Re: "Amp for Email uses that language instead of HTML and CSS."
Is this correct? Looking at the example in the spec [1], it seems to be a subset of HTML.
Is this correct? Looking at the example in the spec [1], it seems to be a subset of HTML.
Those are just custom elements: https://html.spec.whatwg.org/multipage/custom-elements.html
I'm reminded of:
#define BEGIN {
#define END }Yes?
The analogy would be more like defining custom functions or classes not in the standard library. It's just encapsulation that can then be used by name. They can't be inserted arbitrarily regardless of syntax like a macro can be.
XML is a subset of SGML and can have further subsets and implementing applications I.e. it is a branch. As noted above, XHTML was a leaf on this branch.
So they are related but not equivalent.