ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web

HTML Tutorial - How To HTML Code For Dummies

Updated on May 9, 2011


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!


    0 of 8192 characters used
    Post Comment

    • girlpower profile image

      girlpower 11 months ago from eugene oregon

      What? now I'm really lost. My google adsence is telling me that i can add a banner on my webpage advertising something. I already have added capsules on my hubpages from amazon with amazon products. But a banner would put it on my page, like a link to get amazon giftcards. It gives me this long code to copy and paste into the code to my webpages. Does that mean my hubpages site? Where is my hubpages webpage that i can add the code into, they say at the bottom right before the HTML? Help. PS i sent an email to adsence amazon and asked them for help and they said they can't help me, and send me to pages that make no sence. Maybe that's why they call them adsence it should be called nosence. All my income on the site shows all zero's for years.

    • Ding.A.Ling123 profile image

      Ding.A.Ling123 4 years ago

      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.

    • Ding.A.Ling123 profile image

      Ding.A.Ling123 4 years ago

      Thanks for the comment glad I could help

    • profile image

      12yearold 5 years ago

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

    • adomcruze profile image

      Adom Cruze 6 years ago

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

    • profile image

      unknown 6 years ago

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

    • profile image

      Delizah 7 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 :)

    • profile image

      5683101 7 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!!!!

    • jonkarna profile image

      jonkarna 7 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.

    • profile image

      website consultants 7 years ago

      why couldn't the W3 tutorial be this easy?

    • cym profile image

      cym 7 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.

    • Rickrideshorses profile image

      Rickrideshorses 7 years ago from England

      Very useful for complete beginners like me!

    • cym profile image

      cym 8 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.

    • Jen's Solitude profile image

      Jen's Solitude 8 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.