Four parts, four tests, and a lot of checkboxes later, here's where the evidence leaves us. The short version is that "is HTML a programming language?" has no single answer, because it's really four questions in one. The long version is below.
The scorecard
Here are the results from parts 2, 3 and 4 side by side. Each column links to the part that explains its scores.
| Test | HTML | CSS | HTML and CSS |
|---|---|---|---|
| Computes anything Given enough time and memory, can it work out anything a computer can? | No | Partly | Partly |
| Gives instructions Does it tell a machine what to do? | Yes | Yes | Yes |
| Decides and remembers Can it make decisions, and keep track of what has happened? | Partly | Partly | Yes |
| Builds programs Would people call the things you make with it programs? | No | No | Partly |
Read down the columns and a pattern appears. HTML on its own passes the loosest test and little else. CSS on its own does better than its reputation, and is still getting better. Together, they pass the middle test outright and get a foot in the door of every other.
Read across the rows and a different pattern appears: the answer depends far more on the test than on the language. Nobody disagrees about what HTML can do. They disagree about what counts.
Choose your test
So pick the test you believe in, and see the verdict it gives. (This is HTML and CSS too: the choices are radio buttons, hidden inside their labels, and CSS shows the matching verdict.)
Choose a test to see its verdict.
HTML: no. HTML and CSS: yes, with conditions.
HTML can't calculate anything at all. HTML and CSS together can run Rule 110, which can compute anything, as long as a person keeps clicking; and the newest CSS can run an emulated processor by itself, in some browsers. By the strictest test, HTML alone is out, and the pair have only just got in.
Yes: HTML is a programming language, and so is CSS.
Every element and every rule is an instruction a browser carries out. The trouble with this test is how much else passes it: a knitting pattern, a sat-nav route, the settings on a washing machine. If you choose it, you've chosen a very big club.
Neither alone. Together: yes.
HTML remembers without deciding; CSS, in everyday use, decides without remembering. Put them together and you get choices, memory and logic, and every demo on this site is the proof. By this test, HTML on its own falls short, but HTML and CSS together are a programming language, if a very limited one.
Mostly not.
People build pages and applications' screens with HTML and CSS, and leave the logic to other languages. The demos show games and calculators can be built from them, and x86CSS even runs compiled programs, but nobody would build real software that way. By the test of everyday use, they're languages for describing, not for programming.
None of the four is wrong. Each captures something real about programming. That's why the argument never ends: two people who pick different tests can both be right, and both be sure the other is wrong.
Where I land
I'm undecided, and I think that's the honest position rather than a dodge. HTML can, in some sense, be considered a programming language, albeit a very weak one. Professor Brailsford's view of it as a simple, declarative language, in which elements are something like functions telling the browser what to render, is a fair description of what HTML is. But HTML on its own could never crack the Enigma machine, or complete a knight's tour, and I can't call something a programming language when it can't do either.
Where it gets interesting is when CSS steps in, and that's what the original version of this site got wrong: it looked almost entirely at HTML. CSS has spent the last few years gaining exactly the things programming needs: conditions, calculations, functions, and now, through animations, a clock and a kind of memory. HTML and CSS together are already a programming system, a limited and awkward one. If CSS keeps going the way it is, the debate may end up being settled not by an argument, but by CSS.
The better question
Much of this debate isn't really about HTML. "That's not real programming" is often a way of drawing a line between people, not languages, and lines like that tend to move. Alvaro Montoro put it well:
The definition of what programming is (or is not) changes with time. I bet someone sorting through punched cards complained about how typing code in assembly was not real programming.
So the label matters less than the question it makes us ask: when do descriptions, rules and state become programming? HTML and CSS sit right on that line, which makes them the best place to think about it. Whatever you decide, you'll have decided it about the tests, not the languages, and that's the most useful thing this debate can teach.
If you want to go further, the sources collect the articles, talks and projects behind everything here, and the demos are there to make up your own mind.