|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "HTML Is Not a Programming Language…" |
| 4 | +date: 2025-02-11 18:09:04 |
| 5 | +categories: Web Development |
| 6 | +meta: "Is HTML a programming language? In this short post, I explore why HTML is powerful, fundamental, and essential—but not a programming language. Discover why semantics matter less than practical value and why HTML deserves more respect." |
| 7 | +toc: false |
| 8 | +--- |
| 9 | + |
| 10 | +I adore HTML. I actually, really do. It’s the [performance |
| 11 | +engineer](/consultancy/)’s dream. But I don’t think it’s a programming language. |
| 12 | +At least not in any useful sense. |
| 13 | + |
| 14 | +There’s a saying, [with a pretty amusing |
| 15 | +backstory](https://www.the42.ie/brian-odriscoll-tomato-fruit-salad-quote-2051370-Apr2015/), |
| 16 | +that goes something like <q>knowledge is knowing a tomato is a fruit; wisdom is |
| 17 | +not putting it in a fruit salad</q>. That sums up my take on the debate |
| 18 | +perfectly. Being ‘technically correct’, while important to many, is usually |
| 19 | +pedantic, unproductive, and not very helpful. |
| 20 | + |
| 21 | +The definition of _programming language_ is not formally agreed upon, but if |
| 22 | +you’re keen enough to bend it to fit HTML, you will probably be successful. |
| 23 | + |
| 24 | +But what does that achieve? Really? |
| 25 | + |
| 26 | +HTML is fundamental, it’s powerful, and it’s _fast_, **but it is easy**. Being |
| 27 | +good at HTML—which I would argue I am!—is more about having [a good |
| 28 | +memory](https://developer.mozilla.org/en-US/docs/Web/HTML/Element) than being |
| 29 | +able to think in complex or abstract patterns. |
| 30 | + |
| 31 | +I adore HTML. I much prefer it over anything else! But I wouldn’t call it |
| 32 | +a programming language. |
| 33 | + |
| 34 | +If I was at a dinner party or social function, and my (nascent) partner got |
| 35 | +talking to someone who writes code that launches rockets or manages banking |
| 36 | +software—a real software engineer—and she said to them <q>Oh! You must meet |
| 37 | +Harry! He’s a software engineer, too!</q>, I would be mortified. I couldn’t |
| 38 | +[hold |
| 39 | +a candle](https://dictionary.cambridge.org/dictionary/english/can-t-hold-a-candle-to) |
| 40 | +to that. I wouldn’t want to! |
| 41 | + |
| 42 | +I adore HTML. But it isn’t a programming language. |
| 43 | + |
| 44 | +I wish more people took HTML more seriously. I wish more people were good at |
| 45 | +HTML and understood its power and capabilities. I wish more people knew why HTML |
| 46 | +is so fast and why it’s almost always preferred. It’s knowledge that’s made me |
| 47 | +[a good living](/services/)! |
| 48 | + |
| 49 | +I adore HTML, but I don’t think it counts as a programming language at all. And |
| 50 | +that’s fine—it doesn’t need to. |
| 51 | + |
| 52 | +If you think differently to me, if you can make the definition of _programming |
| 53 | +language_ fit, that’s absolutely fine. But, colloquially, I don’t think it’s |
| 54 | +helpful at all. |
| 55 | + |
| 56 | +I adore HTML ❤️ |
0 commit comments