Basic HTML Document Tags
Review:
All parts of an HTML Document are surrounded by tags.
HTML Tags are case-insensitive (you may use either upper case (CAPS) or lower case.
HTML tags come in pairs of opening <tag> and closing </tag> tags.
Every Opening tag begins with '<' and ends with '>'
yeilding: '<tag>'.
Every Closing tag has a '/' after the '<'
yeilding: '</tag>'.
The inside of every tag begins with its name. [ Additional attributes can follow the name. ]
Items are separated by space. [ Attributes appear only in opening tags. ]
The HTML Tag
The <html> tags surround the head and body of your document.
Normally you begin your file with an OPENING <html> tag and
you end it with a CLOSING </html> tag.
EXAMPLE:
<HTML>
The Good stuff all goes here, then finally...
</HTML>
The COMMENT Tag
The <!-- commments, comments, comments --> tag is your way of remembering
why or what you did,
who you are, copyright info, and general notes that you would
otherwise forget.
Unlike nearly all other HTML tags, the Comment Tag is a singleton,
meaning that it stands alone needing no CLOSING tag.
EXAMPLE: <!-- This comment will remind me of why I did this... -->
Hyperlinks:
Table of Contents
Questions? E-mail your Instructor -
Dr. Charles Rubenstein
Tutorial Copyright (c) 1996-2006
C.P.Rubenstein