Knowing HTML (Part 2)

Things that you have to know before you play with the HTML Code. First you must know that HTML is consist of the HTML Tags. Tags are :
* keywords surrounded by angle brackets like
* HTML tags normally come in pairs like and
* The first tag in a pair is the start tag, the second tag is the end tag
* Start and end tags are also called opening tags and closing tags

<html>

<body>

<h1>My First Heading</h1>

<p>My first paragraph</p>

</body>

</html>

Example Explained

  • The text between <html> and </html> describes the web page
  • The text between <body> and </body> is the visible page content
  • The text between <h1> and </h1> is displayed as a heading
  • The text between <p> and </p> is displayed as a paragraph

The best way to learn HTML is use plain text editor like Notepad, Wordpad, etc. Why ? Coz you will be more familiar with the tag, you have to type it everytime you need it. It’s also help you to learn to be more careful with the tags. You need to close after you open the tags. If you are using tools like Dreamweaver in your basic learning, i’m not sure that you can create a proper HTML when you are forced to use plain text editor.

We will learn more about HTML in Knowing HTML Part 3null

Tags: , ,

Posted under HTML by Lie Fung on Saturday 5 December 2009 at 10:05 am

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.