ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

HTML Tutorial - How To HTML Code For Dummies

Updated on May 09, 2011

HTML

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:

<HTML>
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>

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!

Title

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.

Body

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!

<HTML>
<HEAD>
<TITLE>
Dingy's Website
</TITLE>
</HEAD>
<BODY>
Hello, welcome to my web page. This is a sample website that I made for you to change!
</BODY>
</HTML>

Done

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!

Comments

    0 of 8192 characters used
    Post Comment

    • 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'

      (http://hubpages.com/hub/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 7 years ago from England

      Very useful for complete beginners like me!

    • 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: https://hubpages.com/technology/my-first-webpage

      You may also want to read this hub, with very basic information: https://hubpages.com/technology/my-first-website

      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.

    • profile image

      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.

    • profile image

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

    • profile image

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

    • profile image

      unknown 5 years ago

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

    • adomcruze profile image

      Adom Cruze 5 years ago

      It's seems like a basic coding, you may check to make it better. I have visited this : hubpages.com/hub/my-first-website.

    • profile image

      12yearold 4 years ago

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

    • Ding.A.Ling123 profile image
      Author

      Ding.A.Ling123 3 years ago

      Thanks for the comment glad I could help

    • Ding.A.Ling123 profile image
      Author

      Ding.A.Ling123 3 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.

    • girlpower profile image

      girlpower 5 days 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.

    Click to Rate This Article