When haters deny HTML’s status as a programming language, they’re showing they don’t understand what a language really is. Language is not instructing an interlocutor what to do in a way that leaves no room for other interpretations; it is better and richer than that.
Tim Carmody, HTML Is Actually a Programming Language. Fight Me
If you need a bit more proof that HTML can do dynamic, interactive, logic-oriented tasks, see the article I’ve been working on and published today: Relatively New Things You Should Know about HTML Heading Into 2025.