this post was submitted on 23 Oct 2023
164 points (91.4% liked)

Programming Humor

2526 readers
2 users here now

Related Communities [email protected] [email protected] [email protected] [email protected]

Other Programming Communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -1 points 10 months ago (1 children)

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.

[–] [email protected] 1 points 10 months ago

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.