this post was submitted on 06 Mar 2024
524 points (96.1% liked)

Programmer Humor

32559 readers
594 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lightnegative@lemmy.world 2 points 8 months ago (1 children)

No. Markup languages are configuration for an interpreter.

inb4 code is configuration for a compiler and binary is configuration for a processor

[–] Aceticon@lemmy.world 1 points 8 months ago* (last edited 8 months ago) (1 children)

Actually, there are plenty of interpreted programming languages, for example Perl or Shell Script so that definition is incorrect.

HTML is not a programming language because it only defines form (how things look), and does not control action (executing operations by itself).

The language for Web Development that controls the execution of operations (say: if the user fills a certain field, fetch related data from a server and display it in certain page areas) is called Javascript and is separate from HTML (which existed before Javascript and can exist without it).

Modern Web standards have also moved a lot of the form stuff to yet another language - CSS, Cascading Style Sheets - which is more powerful and reusable, so HTML is more used for the visual structure of the page and less for things like the fonts of the various pieces of text, though it still contains support for that stuff and you can still use it.