This is how a tag in used: <title>Step By Step</title> The tag name goes inside angle brackets before the text, and it is repeated after the text with a slash after the opening angle bracket. The first is the start-tag and the second one is called the end-tag and the text they surround is called the content.
A few tags are defined as empty since they only have a start-tag and they don't enclose any content, for example <br> tells the browser to end a line and insert blank line. It does not surround anything, so there's no end-tag.The HEAD contains the TITLE of the document. It is this title that will be used when the page is viewed by the browser and saved as a bookmark for later use. It tells the person who is viewing the page what the name of the page is.
The BODY contains the actual text that is made up of paragraphs, lists, and other elements such as graphics and links to other pages. Browsers expect specific information because they are programmed according to HTML and SGML specifications.
Required elements are shown in the example below.
<html> <-----Must start every HTML Document <head> <-----Indicates the start of the Head <TITLE>Title of Document</TITLE> <-----The title of the document </head> <-----End of the Head <body> <-----Start of the body of the document <P>Some text to create the <-----Where your information goes body of the document!</P> </body> <-----End of the body of the document </html> <-----Must end every HTML DocumentThese are the required elements for every HTML document. Because you should include these tags in each file, you might want to create a template file with them already in it.
NOTE: HTML is not case sensitive. <title> is equivalent to <TITLE>. There are a few exceptions which will be noted later.
Not all tags are supported by all World Wide Web browsers. If a browser does not support a tag, it (usually) just ignores it.
<HTML> <HEAD> <TITLE> My Template </TITLE> </HEAD> <BODY> </BODY> </HTML>
© 1996 l_curreri@yahoo.com
Visit My Home Page
last modified: January 14, 2002
This page hosted by Get your own Free Home Page