Some Basic HTML Tags
- <HTML> </HTML>
-
Indicates the beginning and end of an HTML document.
- <HEAD> </HEAD>
-
Usually appears directly after the opening & tag.
Contains information about the document, such as the <TITLE> tag.
- <TITLE> </TITLE>
-
Contained within the <HEAD> </HEAD> tags. Text within the <TITLE> </TITLE> tags usually appears in the small title bar of the window containing the browser.
- <BODY> </BODY>
-
Indicates the main body of the document. Comes after the closing <HEAD> tag.
- <H1..H6> </H1..H6>
-
Used to indicate that the enclosed text is to be a section or sub-section heading. Usually rendered as a large and/or bold-faced font. <H1> is the largest,
and <H4> is usually the default size.
- <BLOCKQUOTE> </BLOCKQUOTE>
-
Text between these two tags appears indented on both sides of the screen, similar to the way you would indent a literary quotation.
- <PRE> </PRE>
-
Indicates a section of text that should appear exactly as it does in the source
document. Useful for preserving spacing and indentation of text such as
computer source code.
- <BR>
-
Forces a line break (carriage return).
- <P>
-
Indicates the beginning of a new paragraph. This is usually interpreted as a
blank line, although most browsers do not include the indentation of the first
line that is customarily associated with a new paragraph.
- <OL> </OL>
-
Indicates that the data following is to be placed into a numbered list. Each
item in the list is indented and preceded by a number. Note that lists can
be nested (i.e. a list may itself be an item of a different list).
- <UL> </UL>
-
Unordered list. This is the same as an ordered list, except each item is
preceded by a marker, usually a round or square bullet.
- <LI>
-
Indicates an item of a list. This tag can only occur within a <OL> </OL>
or <UL> </UL> pair.
- &lt
-
Used to print the special character <. This is needed so that a browser will
not mistake a "less than" symbol for the opening bracket of an
HTML tag.
- &gt
-
Used to print a > symbol.
- &quot
-
Used to print a " symbol.
- &amp
-
Used to print a & symbol.