Tell a Friend About Our Cool Software

Any HTML document is made up of two things--tags and content. This is
central to the way HTML works.
Tags are the HTML itself--in other words, the markup (remember
HyperText Markup Language). All HTML tags are enclosed in angle
brackets < and >. Here are some actual HTML tags:
<title>
<p>
<img>
<table>
Most but not all HTML tags are used in pairs--there is a starting tag and
an ending tag. These tags are called container tags because they can
'contain' or wrap around other tags and content. The ending tag is the
same as the starting tag with the addition of a leading slash (/). So, </title>
is the ending tag for <title>. The tags that do not have a separate closing
tag are known as 'self-closing'. All you do is add a space and the slash
just before the > to close the tag.
The <img> tag is a good example of this. Since it doesn't have a closing
tag, we close it as follows:
Wrong: >img src="logo.gif">
Correct: <img src="logo.gif" />
Content in an HTML document is anything that is not an HTML tag. Another way of looking at it would be that content is the information you want to show the user. Content can be included in an HTML document in two ways:
<p>HTML is <b>easy to learn!</b></p>
Let's dissect and analyze this short piece of HTML: