Discussion on: Are CSS and HTML programming languages?

devopshabits profile image
Jonathan Hall

The answer to the question depends entirely on your definition. They are both languages, obviously. So the question is whether writing CSS and HTML constitutes "programming."

Neither is Turing complete, so a strong argument can be made that they are not "complete" programming languages. But there are other programming languages that aren't Turing complete, too.

At the other extreme, a programming language may be defined as any language that allows you to specify instructions to a computer. In the broadest sense, these languages do that, although they're more declarative than imperative, which may matter to some definitions.

In the long run, the only way to answer the question is according to a specific definition. There is no universally correct answer.