3 ms·
> there's a one-to-one relationship between tags and elements. There’s not a one-to-one relationship between HTML tags and elements, so if there is a one-to-on
by layer8 3y ago
> there's a one-to-one relationship between tags and elements.
There’s not a one-to-one relationship between HTML tags and elements, so if there is a one-to-one relationship between Imba tags and HTML elements, it follows that there is not a one-to-one relationship between Imba tags and HTML tags — that’s what’s confusing.
- deleted 3y ago[deleted]
- lolinder 3y agoBy your own insistence a tag is simply a syntax construct, so I'm not sure why it matters that there's a one-to-one relationship between Imba tags and HTML tags. All that matters is that there's an obvious mapping from one to the other (and preferably back), which there is. Also, I want to re-emphasize that most people use the words "tag" and "element" interchangeably when talking about written HTML. That may be a pet peeve of yours, but it's common enough that it's not an incorrect usage.