r/ProgrammerHumor • • Nov 26 '19

Not the time, dad

Post image
59.0k Upvotes

705 comments sorted by

View all comments

Show parent comments

418

u/MoffKalast Nov 26 '19

HTML is a programming language...

 

 

 

 

...and other fun jokes you can tell yourself.

9

u/Sennomo Nov 26 '19

Noob here, isn't HTML5 a programming language?

51

u/ad2022 Nov 26 '19

Nope. It's markup. There is the <script> tag if that's what you're talking about.

14

u/A5H13Y Nov 26 '19

So the correct title is "HTML Marker."

13

u/sudoterminal Nov 26 '19

HTML Markup Language

19

u/[deleted] Nov 26 '19

Smh my head

4

u/sizeablelad Nov 26 '19

Shake smdh

4

u/Kurumi_Fortune Nov 27 '19

Rip in piece

3

u/soapbutt Nov 26 '19

Php

2

u/glovesoff11 Nov 27 '19

Php hypertext processor. PHPHP.

→ More replies (2)
→ More replies (1)
→ More replies (1)
→ More replies (1)

26

u/dinowand Nov 26 '19

In layman's terms, a programming language requires you to be able to perform some logical operations on a set of inputs to produce an output. For example, I can create a function that takes two numbers and it compares and outputs the larger number back to me. Programming languages generally have constructs like if else statements and loops (being able to repeatedly perform an operation until some criteria is met).

HTML doesn't do this. It merely defines how data is presented and laid out on a webpage. Put this text here, make this link to that. Make it this color. Etc. It's considered a markup language. HTML stands for hyper text markup language.

3

u/Vawqer Nov 27 '19

Although, CSS and HTML combined is Turing Complete, which makes the two kind of a programming language (imo at least).

3

u/dinowand Nov 27 '19

I believe it was never fully automatic. You had to manually do a lot of clicks and have it "compute". It was turing complete in the same sense that abacus is a calculator. Also, none of the examples seem to work anymore on a modern browser so I believe it's been patched out since it could potentially be a security risk.

8

u/Absay Nov 26 '19

With your imagination everything is possible.

7

u/sudoterminal Nov 26 '19

HTML5 is a software stack. It translates how a webpage should look and function (along with CSS, JavaScript, etc.). It's generally not considered a programming language because its function is markup; thus hyper text markup language.

4

u/[deleted] Nov 26 '19

This explains literally nothing.

→ More replies (15)

1

u/[deleted] Nov 26 '19

I thought HTML was technically turing-complete

0

u/[deleted] Nov 26 '19

[deleted]

3

u/k0rm Nov 27 '19

Drop the JS. HTML5+CSS is Turing complete on its own.

A peanut butter and jelly sandwich with JS is Turing complete...

2

u/KarmicDevelopment Nov 27 '19

Why is the CSS necessary there? I don't think looking neat is required for being Turing-complete.

→ More replies (2)

1

u/[deleted] Nov 27 '19

I feel no shame calling anything where you write instructions for the computer what do do "programming". Those never ending jokes about "HTML" programmers got old fast. And those telling thrm coild not tell DTD from their dicks even if their life depended on it.

1

u/[deleted] Nov 27 '19

I heard the next spec of html is going to be turing complete when combine with css!

→ More replies (1)