r/learnprogramming • u/UtkarshBajaj2008 • May 29 '26
Python or html??
So I'll be starting college somewhere next month and I have a bit of time to revise and learn a bit more of either html or python but I'm cofsued which one is better to do now...any idea which one I should do? I did both of them a little bit in school in 10th grade so I think the basics just need a brush up and I can build up on from there
12
Upvotes
15
u/SpritualPanda May 29 '26
Html is a markup language which mostly run on browser and python is a entire programming language which can do almost everything. Html is very easy you don’t need to focus heavily, focus on python.
6
u/VariousAssistance116 May 29 '26
HTML isn't programming its Markup
3
u/xClearlyHopeless May 29 '26
For college? Python. Your first class will likely be in Python or in a language which will be more similar to Python than HTML.
3
u/Tempmailed May 29 '26
html is just text at the end and doesn't do much. Python is what you need for real
3
u/LogicalPack7748 May 29 '26
Python, hands down. They’re not really competitors. HTML is a markup language for structuring web pages, while Python is an actual programming language you can use for tons of stuff (automation, data, backend, ML, scripting).
3
u/AncientHominidNerd May 29 '26
HTML is really only for web design or page design and it’s meant to be paired with Javascript and CSS or other languages similar to them. You can’t really build programs with it.
Python is a general purpose language that you can do a lot with. Do Python, unless you aim to be a front end web designer, then do html.
2
u/Sea-Entrance-728 May 29 '26
Python will teach you logic and make your mind sharper, learning html is like learning markdown (kinda). It's something you'll use if you want to go front-end or fullstack, its nice to know, it's pretty easy compared to python and all the logic behind programming. HTML is not a programming language, so it's much, much easier to learn it.
I'd learn Python, html you can learn pretty fast and effortlessly together or later.
2
u/roanish May 29 '26
Both. A good project is to make a simple python http server that serves your own html pages. Then you can get tricky behind the scenes using python like a type of server side CGI. It's fun.
2
u/Narrow-Drive-4542 May 29 '26
This is a really common situation for beginners, and the best advice is to focus on solving real problems rather than following tutorials step by step. Tutorials teach you syntax, but actual problem-solving teaches you how to think. Pick a small project that genuinely interests you, break it into tiny pieces, and build each piece. When you get stuck, look up the specific concept you need - this approach builds much stronger intuition than passive learning.
2
u/Flame77ofc May 29 '26
If you want something like frontend or any similar area, the best choose is HTML, otherwise if you want to really code and understand the logic, choose python
2
u/rustyseapants May 30 '26
What is your major?
2
u/replierII Jun 01 '26
Both. HTML is very simple as it's not even a programming language, so you can learn it in a few days
1
u/pepiks May 29 '26
Both. Start with HTML, then mix it with Python and you will see how fronted / backend works.
9
u/[deleted] May 29 '26
[removed] — view removed comment
2
u/[deleted] May 29 '26
[removed] — view removed comment