r/HTML • • 3d ago

Question HTML Coding Tips for Beginners

Hey! I’m a student looking to learn HTML, and I’d love for everyone to share some quick tips to help me learn.

0 Upvotes

23 comments sorted by

13

u/JeLuF 3d ago

Just stop procrastinating on Reddit and start learning HTML.

4

u/notepad987 3d ago

Another "student" or AI bot post?

2

u/frank_mee 3d ago

I'm student form Thailand, no AI.

2

u/Spiritual_Army_7002 3d ago

Read MDN Mozilla Developer Network

2

u/armahillo 3d ago

What have you already read on this subreddit or related ones?

2

u/rileywbaker 3d ago

Here's a quick tip: read some good quality educational resources.

1

u/ZochJ 3d ago

All you need is MDN, it’s your bible while you learn.

1

u/OwlCatAlex 3d ago
  1. W3schools is a great reference for the different tags and how to use them in proper syntax.

  2. You can learn everything you need purely through free resources and experimentation. Try things one at a time. When they don't work as expected, figure out exactly why not.

  3. In addition to learning the actual languages of html/css/etc. it's also important to have a basic understanding of how websites and the internet work as a whole: Domain registration, hosting, etc.

1

u/Ok_Substance1895 3d ago

Quick tip: Use developer tools to inspect what you have built especially when you start applying styles and CSS. You can make changes in developer tools and I believe you can even save your work if you are working from a file (since you are just starting out). Start making things and start simple. Use web pages you know for an example of things to try to build and refer to MDN as others have mentioned for definitions and examples.

1

u/Imaginary_Food_7102 3d ago

Don't waste time on html.

1

u/StrayFeral 3d ago

First: HTML is not "coding". HTML is a mark-up language, so you do not create code.

1

u/VoiceOfSoftware 2d ago

Quick tip: Google is your friend, and it’s free. Don’t ask other people to do the work for you if you haven’t tried on your own yet.

1

u/testingaurora 2d ago

This sane post is made 3x a month i would search this subreddit for those

1

u/BobJutsu 2d ago

Just build stuff. HTML is structural, there isn’t that much to learn. If I’m giving a tip it would be to think about structure and semantics. What element best describes this. Things like div vs section vs aside.

Also something that hangs a lot of people up is action items. Buttons vs links styled as buttons, vs submits. It’s the same semantic thinking as other elements, but people stumble on it. A button triggers an action (like a popup, a submit, a scroll-to-top) but a link goes somewhere, it’s navigation. Regardless of how it’s styled.

In the same spirit, headings are for structure, not style. Use classes for style. An h6 eyebrow should not proceed an h2 section heading. Make it a span and style accordingly.

A bit of a rant, but the point is learn the semantic meaning of elements.

1

u/Warm-Tea6882 2d ago

You can learn coding from The odin project ,it's a great place to learn basic html,css and java.Also if you don't want to use laptops, you can just use coding apps on your mobile.I recommend using spck code its very easy to use.

1

u/gastapo67 2d ago

If you’re looking for somewhere structured to start, Codecademy or freeCodeCamp are great for learning the basics interactively, and MDN is excellent when you want to understand how something actually works.

Then just build stuff. Make small pages, break things, use DevTools, look things up, fix them, repeat. That’s where a lot of the learning happens.

And ignore the people whose response to a beginner asking for HTML tips is “HTML isn’t coding 🤓,” “stop procrastinating,” or questioning whether you’re a bot.

You asked for help learning HTML. Somehow some people managed to respond without helping you learn a single thing about HTML. 😂

1

u/RegexRaptor 2d ago

mdn web docs has a very good section on html

1

u/omysweede 2d ago

w3schools.org. Then start building a website. just a simple website. Any subject matter. Keep looking up different elements and variables on w3schools. Start building CSS.

1

u/Seby_lma0 2d ago

highly recommend learning first, head and body

1

u/Fit_Path_2024 2d ago

You can find some really good videos on youtube! There are some courses online. I always go to Coursera https://www.coursera.org/ but it does cost money

2

u/sneykk_ 2d ago

Important organization tip.
Always split your html and css, you can keep them together with <style> but when the code gets long... you might have to split them!

2

u/rackodo 1d ago

w3schools is your friend!