Basic HTML

HTML is the most basic thing you need to know if you want to create your own website. In this tutorial we will learn how to create the basic page, and some of the most commonly used tags.

Basic Page

If you want to make a basic HTML page you need to use these codes.

<html>
<head>
<title>Your Site Title here</title>
</head>
<body>
Put your content in here!
</body>
</html>

You need that code to make a page. This is only a very basic page so you will need a CSS to customise it.

Tags

Here are just a few useful tags and their uses. When you use a tag you always need to close the tag.

<strong></strong> – This is to make the text inside the tag bold.

<em></em> – This makes the text italic.

<p></p> – This makes a paragraph.

<img src="image.jpg" /> – This will show an image. Change “image.jpg” to where your image is placed.

<br/> – This tag is a line break, it’s like when you press enter and it makes a new line. You use this in your HTML because if you press enter with the raw code, nothing will happen.

Further Reading

Share

  • Digg
  • del.icio.us
  • StumbleUpon
  • Technorati
This entry was posted in HTML, Tutorials. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

kao_happy.gif kao_kiss.gif kao_cry.gif kao_wink.gif kao_blank.gif kao_yes.gif kao_cheering.gif kao_mad.gif kao_mouth_shut.gif kao_sweat.gif kao_sick.gif kao_posh.gif kao_shocked.gif kao_no.gif kao_love.gif kao_lol.gif kao_laughing.gif heart_bounce.gif kao_evil.gif kao_blush.gif kao_regular.gif kao_tongue.gif kao_big_grin.gif kao_confused.gif kao_cute.gif kao_smile.gif kao_sad.gif kao_cool.gif