|
Tutorials: Basic HTML Tags and Attributes
Preliminary Information
When learning HTML there are a few basic concepts that should be understood. First, HTML is controlled by different elements that are called TAGS. These tags are put between a pair of brackets so that they look like <TAG>. There are many different variations of these tags and they all do different things. Secondly, every <TAG> has two parts which are an OPENING TAG and a CLOSING TAG. Now you are probably wondering how you distinguish between these two tags. Here is how one distinguishes between the two different tags. The OPEN TAG has the form <TAG>. The CLOSE TAG has the form </TAG>. The information that the <TAG> applies to is placed in between the OPENING and CLOSING TAG. Here is an example below. This is the basic layout of a web page.
<HTML>
<HEAD>
<TITLE>
Notice that the title appears within the OPENING and CLOSING TAGS
</TITLE>
</HEAD>
<BODY>
The Body of your page goes here. Again, notice how the body is placed between the OPEN and CLOSE TAGS.
</BODY>
</HTML>
|
[Return to HTML Tutorials]
|