3 ms·
> HTML is by design not supposed to be dynamic, that's the point of JS. You are putting far too much faith in the design of web standards. Anyways, here's a c
by pphysch 3y ago
> HTML is by design not supposed to be dynamic, that's the point of JS.
You are putting far too much faith in the design of web standards.
Anyways, here's a counterexample to your claim:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog https://developer.mozilla.org/en-US/docs/Web/HTML/Element/di...
- ipaddr 3y agoA dialogue doesn't need javascript. You can render in html and can use server side logic to decide to display it
- sodapopcan 3y ago<audio> and <video> are older examples. And of course <button type="submit">, <button type="reset">, annnnnd cough <a>. There was <blink> and for some reason still <marquee> if you wanna consider animations dynamic.
- pphysch 3y agoThanks, yeah, there are lots of examples of standard HTML features that wouldn't make any sense in a true static document DSL like LaTeX, or a paper document. HTML is interactive and dynamic.
- sodapopcan 3y agoI was just augmenting your answer as I liked it! It was also sort of a response to my sibling responder as they didn't seem to get what you were saying. EDIT: Oh wait, maybe they did now that I re-read it... maybe? I think it's time for bed.