r/HTML • • Oct 05 '26

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

24 comments sorted by

4

u/notepad987 Oct 05 '26

Another "student" or AI bot post?

2

u/frank_mee Oct 05 '26

I'm student form Thailand, no AI.

3

u/rackodo Oct 07 '26

w3schools is your friend!

1

u/frank_mee Oct 09 '26

Thanks for recommend

14

u/JeLuF Oct 05 '26

Just stop procrastinating on Reddit and start learning HTML.

2

u/Spiritual_Army_7002 Oct 05 '26

Read MDN Mozilla Developer Network

2

u/armahillo Expert Oct 05 '26

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

2

u/rileywbaker Oct 05 '26

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

2

u/sneykk_ Oct 06 '26

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!

1

u/ZochJ Oct 05 '26

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

1

u/OwlCatAlex Oct 05 '26
  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 Oct 05 '26

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 Oct 05 '26

Don't waste time on html.

1

u/StrayFeral Oct 05 '26

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

1

u/VoiceOfSoftware Oct 05 '26

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 Oct 05 '26

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

1

u/BobJutsu Oct 06 '26

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 Oct 06 '26

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 Oct 06 '26

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 Oct 06 '26

mdn web docs has a very good section on html

1

u/omysweede Oct 06 '26

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 Oct 06 '26

highly recommend learning first, head and body