| ▲ | 0x3f 4 hours ago | ||||||||||||||||
But what's the benefit of using e.g. <row><cell> over <tr><td> if your only target is the web? | |||||||||||||||||
| ▲ | cma256 4 hours ago | parent [-] | ||||||||||||||||
If your only target is web then there is no benefit other than a reduction in complexity. For example, a "row" is not just a "<div>" tag. Its a div which horizontally fills its container. Centering contents with a "center" style attribute abstracts flex-box, browser compatibility, version compatibility, and the cascading behavior of CSS. You move the incidental complexity of the web platform into the compiler which will always do the right thing. And in exchange you get the option to compile to a native or mobile app for "free". | |||||||||||||||||
| |||||||||||||||||