HTML Tutorial - How To HTML Code For Dummies


HTML coding is a must when it comes to creating web pages online.

HTML can be simple to learn. This guide will teach you some of the basic HTML coding that will help you create your first web page!

To Start A Web Page

The HTML code of a web page starts like this:


Type your HTML code in your computers text writing program such as notepad(PC) or textedit(MAC). You should save the file on your computer as "title".html

Always remember to put the ".html" at the end!

If you are using a MAC you will need to make sure that you are typing your code as "plain text." Click "format" and then "make plain text."

After you have saved your web page you can open it with your web browser, such as Safari or Internet Explorer. I like to open my page every time I change something to make sure it's coming out as planned!


The <TITLE> is the line of words that you see at the very top of your web browser.

Your <TITLE> should be short and descriptive of your page.


The <BODY> portion of your code is where you put everything that will be contained on your web page such as; text, images, videos, and more!

You can also use the <BODY> to change the background of your web page but I'll save that for another hub!

To add text to your web page simply type the text after the <BODY> tag. The </BODY> tag ends the web page, so be sure that everything is between those two tags!

TheĀ possibilitiesĀ are endless when it comes to customizing your web page, but I'll save most of that for another hub as well. This one is just for the basics!

Start typing the text of your page and save the file and open with your browser to see how it looks!

Sample Web Page

Here is a sample web page, called Dingy's Website, for you to copy and save on your computer. Use this as your test page. Make changes and see how they look with your browser!

Dingy's Website
Hello, welcome to my web page. This is a sample website that I made for you to change!


Now you should know some of the basics to making a website. Try it out see how you like it! Remember your web page can only be viewed on your computer! It is not "online" unless you purchase a web domain and upload your page.

Good luck, and watch for more hubs on HTML coding!

More by this Author

Comments 13 comments

Jen's Solitude profile image

Jen's Solitude 7 years ago from Delaware

I hope I can study this and actually do it. I would love to understand HTML better. I wish someone could talk to me like I'm 5 years old, maybe then I could get it. :D Thanks for the hub.

cym profile image

cym 7 years ago from Europe

Hello Jen

I've put together a hub which has the same information as this one, but I have it written it in a style as if you were 5 years old... Maybe my hub can help you? It's called 'My first webpage'


By the way, 5 years old kids usually learn very fast ;-) They need the explanation in a very different way than adults do. My hub is for adults who just don't understand how to get started putting their first HTML page together... I really hope my hub can help you. And after that you can continue with the lessons here, which Ding.A.Ling123 has put together.

Rickrideshorses profile image

Rickrideshorses 6 years ago from England

Very useful for complete beginners like me!

cym profile image

cym 6 years ago from Europe

I just noticed now that the link in my post is not working, because of the ) at the end... So here it is again, just to be sure:

You may also want to read this hub, with very basic information:

I hope my hubs clear up the basics a little. After that you can continue with the great hubs that Ding.A.Ling123 has written.

website consultants 6 years ago

why couldn't the W3 tutorial be this easy?

jonkarna profile image

jonkarna 6 years ago

Your doctype declaration should be at the top of the page. If it is xhtml, it should also have the xml declaration on top of that also. I prefer to have my html tags in lower case.

5683101 6 years ago

This is verys usfull for dummies lol I was one but then my friend introduced me to html and now Im basically a nerd like him!!!!

Delizah 6 years ago

Hey there.

I am creating my first website as a year 13 in school. I have not created one before and don't really know what im doing. What i am after is information as to how i can add in a constrained box area with its own scroll bar. I do not understand most webtalk so please help me and explain as if i also were a five year old.

Please help :)

unknown 5 years ago

Thanks this seemed to explain a lot to a total noob like me.

adomcruze profile image

adomcruze 5 years ago

It's seems like a basic coding, you may check to make it better. I have visited this :

12yearold 4 years ago

I guess I'm the only 12 yearold on here trying to code HTMLs?

Ding.A.Ling123 profile image

Ding.A.Ling123 2 years ago Author

Thanks for the comment glad I could help

Ding.A.Ling123 profile image

Ding.A.Ling123 2 years ago Author

Absolutely, I do not claim at all to be a professional I have very basic experience in HTML and creating my own websites. There definitely are more in depth guides and probably hubs this was simply to get someone started who knows nothing. Hopefully I've helped some.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.

    Click to Rate This Article