re: Are CSS and HTML programming languages? VIEW POST


Answer: NO

I get that someone (looking at you @ben ;), could argue that HTML + CSS as a union, could be considered a programming language, but writing anything using this solution would be a major PITA.
So, even if it's arguably Turing Complete, IMHO this is stretching it quite out of proportions.

On its own, as everybody knows, HTML is a Markup language, as in syntax you write that gets displayed as readable content using a special parser, usually called a browser.

HTML is not a programming language because it does not contain any control operators nor serve any functional purposes.

CSS on its own is nothing but a description for altering the default display characteristics of HTML.
It's Markup + styling rules In -> Human Readable Content Out (not too much magic really).

code of conduct - report abuse