r/learnprogramming • • Feb 25 '26

I think HTML is easier to understand than python and all the other languages

I always hear that Python, JS, and J are easy to learn and they're good to learn first, but I don't get it. HTML is easier to me because it actually just makes sense and it's not a lot of confusing stuff that I can't remember, at least the basics anyways. Or am I doing something wrong? it also may be the learning environment and fact I can't use applications like VS code and whatever python windows. but eh, just the language itself is weird to me. I feel like HTML goes along with my wiring.

Edit:Also aside from the Internet of course, the book " The complete middle School study guide. everything you need to know about computer science in one big fat notebook" has been helpful. I got it a few days ago and I'm almost done reading it. But I plan to keep it as long as possible and try to not damage it so I can keep going for tips. I screwed up the title in another post. It's a purple book and black.

0 Upvotes

65 comments sorted by

36

u/MagnetHype Feb 25 '26

That's because HTML is not a programming language

-8

u/[deleted] Feb 25 '26

Yeah I first heard that in a FB group or saw someone make a post abt ppl saying HTML isn't a coding language, and then someone said "wait till they find out what the L stands for". But eh. 

19

u/Carmelo_908 Feb 25 '26

It's a markup language for documents, not a programming language

7

u/PoMoAnachro Feb 25 '26

Wait till you find out what the M stands for (it isn't "programming").

There are some definitions by which you could call it a programming language for sure, it isn't Turing complete and isn't a general purpose programming language which is what most people mean when they say "programming language".

1

u/theBarneyBus Feb 25 '26

Wait until you learn what the M stands for

It’s Markdown

11

u/parnmatt Feb 25 '26

It's Markup

3

u/theBarneyBus Feb 25 '26

Dangit

2

u/MagnetHype Feb 25 '26

Wait until YOU learn what the m stands for lol

2

u/Outrageous-Ice-6556 Feb 25 '26

Lol, he failed hard

-7

u/[deleted] Feb 25 '26

Sexdown

3

u/bitparity Feb 25 '26

It’s not a coding language but it is an ENcoding language…

3

u/Substantial_Top5312 Feb 25 '26

Hyper Text MARKUP LANGUAGE, is not a programming language.

2

u/MagnetHype Feb 25 '26

HTML is not a programming language because it cannot be used to compute anything. You cannot find the value of 1 + 1 using html.

0

u/Any-Range9932 Feb 25 '26

Html is a markdown language, not a programming language

18

u/I-E-Tazz Feb 25 '26 edited Feb 25 '26

Oh bless your heart ❤️ 

HTML is like Lego it has no logic.

CSS is like the design or color of the Lego.

JS (or python) is now being able to make your Lego do things, move, change color turn into Duplo.

Programming languages add logic to your program, HTML is a markup language not a Programming language.

1

u/[deleted] Feb 25 '26

I never said it was a programming language. You guys are too deep into it. Now I see why most tech ppl are thelemites who watch SA imagery all day. You have to relax and not let the materialism get to you. And Legos are too expensive and can get boring. 

1

u/I-E-Tazz Feb 27 '26

Okay rude, but let me ask you this, if I said I think lemons are more sour than bananas, does it stand to reason I'm comparing the two?

Both are fruits but from two different families, same with HTML and Python, both are languages but different types, they do completely different jobs, the 'difficulty' isn't an apples-to-apples comparison. 

If I now point out your comparison doesn't make sense and explain it to you, why resort to name calling like a 5 year old? Leave that shit in kindergarten bro.

1

u/[deleted] Feb 28 '26

That's Ageism. School is conditioning. Why assume all 5yos name call when they could run the world of it wasn't for Ageism keeping them down? Kindergarten is where your power are stripped out of you. Toddlers are highly connected to the spiritual realm. They know more than you do now, you'd have to relearn it. 

1

u/I-E-Tazz Mar 01 '26

You're an interesting character, you're almost as weird as me, almost. You'll get there one day baby boy.

1

u/[deleted] Mar 01 '26

There is no getting there, you either break your way to the top and climb over the system or you don't man. 

11

u/Wonderful-Reach-297 Feb 25 '26

You sweet summer child

1

u/[deleted] Feb 25 '26

Lol where do ppl get this term from? I've heard this before. I actually had a girl call me this in 2023. ☠️☠️☠️☠️☠️ It sounds like a southern folky term or something from some old classic movie.

7

u/Carthax12 Feb 25 '26

It's an old saying describing how you're very young and probably naive.

0

u/teraflop Feb 25 '26

The phrase itself was used occasionally in the past, but the modern "naive" meaning is entirely based on Game of Thrones.

The whole point is that it's set in a fantasy world where the seasons are many years long. A "summer child" is a child who has only.ever known summer for their entire life and never seen winter.

1

u/Carthax12 Feb 25 '26

I've heard my parents say it with the "naive" meaning all my life, and I'll be 50 this year.

Its origins are in 19th century writings, and it was popularized by GRRM.

2

u/Weak-Doughnut5502 Feb 25 '26 edited Feb 25 '26

It was made famous in Game of Thrones, and was used rarely and infrequently before it was published in 1996. 

Seasons in that series can last for years, and change irregularly.  Which is why "winter is coming" is such a threat. 

"Oh, my sweet summer child," Old Nan said quietly, "what do you know of fear? Fear is for the winter, my little lord, when the snows fall a hundred feet deep and the ice wind comes howling out of the north. Fear is for the long night, when the sun hides its face for years at a time, and little children are born and live and die all in darkness while the direwolves grow gaunt and hungry, and the white walkers move through the woods

1

u/[deleted] Feb 25 '26

The sweet summer child has never known a winter. And winter is coming.

2

u/Assasin537 Feb 25 '26

HTML is a markup language rather than a programming language. It is no different than LaTeX or another way of displaying information in a marked-up format. It is purely for standardizing how to represent web UIs rather than actually "programming" anything. You aren't building any logic or program in HTML, simply a UI that you can look at. To interact with the UI and have it do anything meaningful, you will have to learn a programming language to implement the functionality.

0

u/[deleted] Feb 25 '26

Of course 

7

u/Treble_brewing Feb 25 '26

HTML is a markup language. Not a programming language. 

6

u/DrySoftware8439 Feb 25 '26

Html is different from python and JavaScript because it's a markup language instead of a programming language. So it's completely normal that you find html easier to understand.

4

u/Ok-Advantage-308 Feb 25 '26

Ok html makes sense to you, how about you move onto css next before jumping into js or python

4

u/Gawd_Awful Feb 25 '26

You seem to not understand what HTML is vs Python

3

u/Perfect_Drummer_7779 Feb 25 '26

well HTML isn’t a programming language, if you want to implement any complex logic you’ll be forced to eventually learn something like python or js

1

u/Aggressive_Ad_5454 Feb 25 '26

OP, you’re getting some mockery here, but I believe your point deserves some serious attention. (Hey, mockers, listen up.)

HTML (including CSS) is a declarative language. You the programmer, use it to tell the machine what you want and the machine delivers what you told it to deliver. In a declarative language you the programmer don’t get to tell the machine how to get what you want. The machine itself decides how to get what you want. In HTML(including CSS) the “machine” is the web browser, making the display you told it you want.

Now, python (and JavaScript and C and C++ and Haskell and malbolge and you name it) are procedural languages. You don’t tell them what you want, you tell them how to get what you want. So those languages need control structures (if, for, list comprehension, decision-making) as well as input and output. You the programmer have to dream up how to get what you want, and then write the program to tell the machine how to get what you want.

So, yeah, HTML is easier because you don’t have to tell the machine how to get what you want. Just what you want. That is indeed easier to understand

That’s why HTML is so successful. It’s easy to understand.

So,

1

u/[deleted] Feb 25 '26

Wait I'm confused, I heard Minecraft was originally built with Java, how is that possible?

2

u/Porktoe Feb 25 '26

Python let's you get away with a lot of things. When I first was learning it, I didn't know what types were really. It wasn't until I went to C and then Java that I understood why people said learn Python. However of you already know some of the basics, Python can seem a bit odd at first.

5

u/MagnetHype Feb 25 '26

Haha I started with C++ so when I had to learn python it was the opposite.

"Okay but how do I tell it what type this is"

Then I found out about JS == vs === and for the first time got legitimately mad a language even existed.

1

u/couldntyoujust1 Feb 25 '26

I hear you, thankfully, Python now has type hinting and I love it so much!

1

u/Porktoe Feb 25 '26

After working with C and Java and I went back to python, I went to declare a variable and was confused why I was getting an error. I'm like "bro, I put the type and variable reference, why are you mad at me?!"

2

u/_SeaCat_ Feb 25 '26

First of all, HTML is a layout convention, not a language. It doesn't have any logic. All you need to do is to memorize what each tag means and if you don't remember, you always can check a manual.

Any programming language of course, is harder. Python and JS are considered easier when compared with such programming languages as C and C++.

2

u/undead-robot Feb 25 '26

HTML is not a programming language in the sense that Python and JS are. It’s a markup language. You don’t operate on and transform data in the same manner and you’re really just telling a computer how to structure a page.

2

u/reheapify Feb 25 '26

Long and arduous road for you.

2

u/Carmelo_908 Feb 25 '26

Very bad comparison

2

u/VanEagles17 Feb 25 '26

That's because HTML isn't a programming language. It doesn't really do anything overly complicated because it doesn't implement any logic. It doesn't compute anything. Yes it's a language but it isn't a programming language in that sense.

2

u/Agron7000 Feb 25 '26 edited Feb 25 '26

All *ML languages such as QML, XML, HTML are easy. Aka Markup Languages 

2

u/JellyDoodle Feb 25 '26

Since no one else here seems to be saying it… HTML is not a programming language. 😂

1

u/paerius Feb 25 '26

Well, I guess I'll go against the grain here and say good on you for starting somewhere. I also got started with html back when websites still looked like nightmare fuel.

I think the next logical step may be to pick a programming language that can work with your html skillset. I'm personally planning on writing a checkers game with my kids to teach them coding basics.

1

u/FirmAssociation367 Jul 28 '26

I learned Python before html and I found it difficult learning html because ive gotten so used with the syntax and conventions in python

1

u/fixermark Feb 25 '26

HTML is a very straightforward declarative language. It has a lot of taxonomy (i.e. many, many, many corner cases, special features, and rules one could choose to memorize), but the fundamentals are pretty self-explanatory. I concur with your assessement.

If you want to see a language that's a bit like HTML but lets you write dynamic programs that change, LISP has some surprising overlap with HTML. PHP is the other one; it's a bit like self-modifying HTML (though I don't generally recommend it for projects these days, it could be fun to look at).

-1

u/HashDefTrueFalse Feb 25 '26

Pretty impressive considering HTML is widely considered the hardest programming language to pick up!

0

u/[deleted] Feb 25 '26

[deleted] — view deleted comment

-1

u/[deleted] Feb 25 '26

I don't think you do, I believe you do that with python or JS if I'm remembering right. 

-2

u/couldntyoujust1 Feb 25 '26
<script>console.log(2 + 2);</script>

this is how.

3

u/[deleted] Feb 25 '26

Confidently incorrect

-4

u/couldntyoujust1 Feb 25 '26
<script>console.log(2 + 2);</script>

Hey! Technically that is 100% valid HTML. You asked! LOL

1

u/HealyUnit Feb 25 '26

...Using JavaScript.

-4

u/couldntyoujust1 Feb 25 '26

Ahh, no, the script tag is 100% HTML. It's in the spec. The content is just text that happens to be javascript and happens to output the addition of two numbers to the console.

2

u/HealyUnit Feb 25 '26

Yes, and the language to add two numbers is JavaScript. It's JavaScript. Not HTML JavaScript.

If I wrote a book in English about the life of Julius Caesar, and included his Latin quote "veni, vidi, vici", would I say that the quote is in English because I "embedded" it in an otherwise English script? No, of course I wouldn't, because that would be pedantic, silly, and quite simply wrong.

I am very, fully aware of the existence of the script tag, and that it's HTML.

0

u/[deleted] Feb 25 '26

The children learn a few wrong things and then have opinions

-2

u/couldntyoujust1 Feb 25 '26

If I asked for a book in English that contains the saying "I came, I saw, I conquered" would it be unfair to include books in English that contain the phrase veni vidi vici?

The point is that Javascript is inextricably tied to HTML and web technologies. And to the extent that Javascript is embedded and referenced in the HTML document, it is just as much part of HTML as the content layout or semantic elements are.

The code to do the thing may be in Javascript, but an HTML document is capable of adding two numbers like you asked because of this inextricable integration with javascript. Arguably, learning Javascript and CSS styling are all part of learning HTML because they're that tightly integrated.

Maybe a different example might help. How do you add two numbers in pure C++? Technically, you can't. C++ doesn't have any conventions it adds to C to add two numbers. Instead, the C++ compiler translates 2 + 2 in exactly the same way the C compiler does and C++ is a loose superset of C. There are edge things that are legal C but not C++ but these are rare edge cases. Ultimately the C++ compiler is jumping to the same code that the C compiler uses to interpret the expression. In that sense, C++ - pure C++ - doesn't have an addition operator and cannot add two numbers together.

Except, nobody would say that seriously. We recognize that the one language is part of the other, even though they have distinct names. The same applies in my opinion with HTML and Javascript.