You are viewing a single thread.
View all comments View context
-1 points

I guarantee you that the people writing that HTML isn’t a language are the junior devs that use DIVs for everything in their structure, especially actionable elements like buttons or anchors. Let’s ignore that the “DIV is the element of last resort”, as per the html spec. Also, I doubt that anyone suggesting CSS isn’t a language hasn’t picked up a OReilley’s manual on it recently - 1100+ pages, before you get to the glossary. HTML & CSS are quite a powerful combination.

permalink
report
parent
reply
1 point

HTML adds structure to data and CSS adds visual styling to HTML data. The only way to make that data interactive, or have it perform other complex tasks is with Javascript. JS is a scripting language which is a subset of programming languages.

Buttons, links, etc only move you from one piece of data to another via the browser. HTML cannot and does not perform any actions itself.

permalink
report
parent
reply
0 points

i have been enlightened about semantics of elements, take a look at my webpage, and i do not think html is a programming language

permalink
report
parent
reply
1 point

Mozilla argues otherwise: https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML

Most people define HTML based on the original acronym, but the current HTML5 iteration is much more than many devs realize.

permalink
report
parent
reply
0 points

would you also argue that markdown is a programming language?

permalink
report
parent
reply
1 point

Mozilla argues otherwise: https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML

Most people define HTML based on the original acronym, but the current HTML5 iteration is much more than many devs realize.

permalink
report
parent
reply
0 points
*

gonna state this: html is a language, but not a PROGRAMMING language. each individual regex is also a language. assumed that you thought “language” and “programming language” were equivalent
sidenote: “gonna state this:” could be prefixed to any comment without changing the meaning, but it sure does change the vibe

permalink
report
parent
reply