Earlier quoted context omitted.
This kind of thing will always just feel shoddy to me. It is not much work to properly close a tag. The number of bytes saved is negligible, compared to basically any other aspect of a website. Avoiding not needed div spam already would save more. Or for example making sure CSS is not bloated. And of course avoiding downloading 3MB of JS. What this achieves is making the syntax more irregular and harder to parse. I w…
You're not alone, this is called XHTML and it was tried but not enough people wanted to use it
Tags to make HTML work like you expect
41–50 of 248 posts
Re: Tags to make HTML work like you expect
#42Re: Tags to make HTML work like you expect
#43Anyone else prefer to use web components without bundling? I probably should not admit this, but I have been using Lit Elements with raw JavaScript code. Because I stopped using autocomplete awhile ago. I guess not using TypeScript at this point is basically the equivalent for many people these days of saying that I use punch cards.
I was introduced to this decision from the Lex Fridman/DHH podcast. He talked a lot about typescript making meta programming very hard. I can see how that would be the case but I don't really understand what sort of meta programming you can do with JS. The general dynamic-ness of it I get.
Re: Tags to make HTML work like you expect
#44> s/lange/lang/ > Don’t need the “.0”. In fact, the atrocious incomplete spec of this stuff https://www.w3.org/TR/css-viewport-1/ > specifies using strtod to parse the number, which is locale dependent , so in theory on a locale that uses a different decimal separator (e.g. French), the “.0” will be ignored. I have yet to test whether misbehaves (parsing as 1 instead of 1½) with LC_NUMERIC=fr_FR.UTF-8 on any user age…
Wow. This reminds me of Google Sheets formulas, where function parameters are separated with , or ; depending on locale.
[0] https://en.wikipedia.org/wiki/Decimal_separator#Conventions_...
Re: Tags to make HTML work like you expect
#45It's 2025, the end of it. Is this really necessary to share?
Re: Tags to make HTML work like you expect
#46Re: Tags to make HTML work like you expect
#47> s/lange/lang/ > Don’t need the “.0”. In fact, the atrocious incomplete spec of this stuff https://www.w3.org/TR/css-viewport-1/ > specifies using strtod to parse the number, which is locale dependent , so in theory on a locale that uses a different decimal separator (e.g. French), the “.0” will be ignored. I have yet to test whether misbehaves (parsing as 1 instead of 1½) with LC_NUMERIC=fr_FR.UTF-8 on any user age…
Wow. This reminds me of Google Sheets formulas, where function parameters are separated with , or ; depending on locale.
Re: Tags to make HTML work like you expect
#48Re: Tags to make HTML work like you expect
#49> is what you want for consistent rendering. Or if you prefer writing markup like it’s 1998. Or even if you eschew all societal norms. It’s case-insensitive so they’ll all work. And if you want polyglot (X)HTML.
Re: Tags to make HTML work like you expect
#50Earlier quoted context omitted.
Wow. This reminds me of Google Sheets formulas, where function parameters are separated with , or ; depending on locale.
Try Apple Numbers, where even function names are translated and you can’t copy & paste without an error if your locale is, say, German.