DEV Community

Discussion on: What are some misconceptions about web development?

Collapse
 
guitarino profile image
Kirill Shestakov

If your definition of a programming language is "structured text which represents machine instructions", then, yes, HTML and CSS are programming languages. But, instead of imperatively saying "add an element X to parent Y", it's written declaratively as <Y><X></X></Y>. And, since there's no branching instructions in HTML, it's not turning complete.

Funny enough, under the same definition, markdown is also considered a programming language, meaning I just wrote a little program πŸ™‚