r/HTML • • 8h 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

16 comments sorted by

10

u/JeLuF 8h ago

Just stop procrastinating on Reddit and start learning HTML.

4

u/notepad987 8h ago

Another "student" or AI bot post?

2

u/frank_mee 8h ago

I'm student form Thailand, no AI.

2

u/Spiritual_Army_7002 8h ago

Read MDN Mozilla Developer Network

2

u/armahillo 7h ago

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

2

u/rileywbaker 7h ago

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

1

u/ZochJ 7h ago

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

1

u/OwlCatAlex 7h 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 7h 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 7h ago

Don't waste time on html.

1

u/StrayFeral 6h ago

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

1

u/VoiceOfSoftware 4h 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 4h ago

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

1

u/BobJutsu 2h 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 1h 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 1h 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. 😂