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.
36
u/MagnetHype Feb 25 '26
That's because HTML is 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.
11
u/Wonderful-Reach-297 Feb 25 '26
You sweet summer child
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.
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
3
u/cglee Feb 25 '26
You might enjoy this: https://x.com/rebane2001/status/2026120879755628980
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,
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.
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