HTML Tutorial - How To HTML Code For Dummies
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!
- Web Hosting Services From $3.99/Month From HostGator
Enter coupon code: "SeansCoupon" for a $9.94 discount on your hosting plan!
Comments
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/_cym/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.
Very useful for complete beginners like me!
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: http://hubpages.com/_cym/hub/my-first-webpage
You may also want to read this hub, with very basic information: http://hubpages.com/_cym/hub/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.
why couldn't the W3 tutorial be this easy?
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.
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!!!!
Hey there.
I am creating my first website as a year 13 in school. I have not created one before and dont 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 :)
Thanks this seemed to explain a lot to a total noob like me.
It's seems like a basic coding, you may check to make it better. I have visited this : hubpages.com/hub/my-first-website.
Dear 5683101,
**very **useful **I'm
Also, proper punctuation and grammar.
Clearly you are not "basically a nerd" like your friend. I don't intend to sound mean but you shouldn't post something so easy to troll anywhere on the internet. It's just asking for it.
Jen's Solitude 3 years ago
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.