|
First, you should know that tags almost always come
in pairs - an open tag and a close tag.
Also, for the sake of more easily recognizing the
tags in this document, we will put them in all capital
letters. However, it is not essential that you do
this.
The following is an example of an open tag.
<HTML>
It takes the form of <XXX> (the X's
represent the html tag and on either side of the command
are "angle brackets" also known as "greater
than" and "less than" symbols).
Next is an example of a close tag.
</HTML>
It takes the form of </XXX>
(notice the "forward slash" in front of
the X's).
Basic Html Tags
<HTML> - Placed at the beginning of the
HTML document.
</HTML> - Placed at the end of the HTML
document.
<HEAD> </HEAD> - Surrounds the
<TITLE> and <META> tags.
<TITLE> </TITLE> - The text within
these tags appears in the web browser title bar.
<BODY> </BODY> - Everything you
place between these tags will appear in the browser
as the "web page".
If you click the link below, you will see a BLANK
page. Click the "Back" button on your web
browser to return here.
View a basic (minimum) html document
in the web browser. While you are looking at this
blank page, in the web browser go to the View
menu and choose Source or Page
Source (or simply Source in Internet Explorer).
You will view the code (tags and text) that makes
up the page.
The HTML source code for the page should look like
this:
<HTML>
<HEAD>
<TITLE>Untitled</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
|