HTML Tags

    Tag: Description:
    <HTML></html> Tags used at the beginning and end of every document
    <HEAD><TITLE>docname.html</title></head> Start and ends document information: title of page. Does not show in browser.
    <BODY></body> Starts and ends body of document. Documents have ONE body tag; all background and link color info. goes in this one tag.
    <BODY bgcolor="#ffffff"> for a solid white background
    <BODY background="beige.gif"> uses an image file for a background. As with any image reference, the image must be in the same directory as the HTML file.
    <LINK="#xxxxxx">
    <ALINK="#xxxxxx">
    <VLINK="#xxxxxx">
    Link color can be changed by placing these tags within the <BODY> tag, along with any background information.
    <H1>Title of Document</h1> Enlarges text and places space around it. Varies in size from H1 to H6, with each getting progressively smaller.
    <A HREF="http://...">text</a> Links text to a particular web document. (external link)
    <A HREF="#textname">text</a> Works with a target or name tag to link to text within the same web page.(internal link)
    <A NAME="textname">text</a> Target or name tag used for internal link.
    <IMG SRC="http://www.../pix.gif"> Places the selected image in document. No ending tag needed.
    <A HREF="mailto:me@niu.edu"></a> Creates an email link
    <FONT SIZE=+1>text</font>
    <FONT COLOR="#ff00ff">text</font>
    Enlarges text from +1 to +7
    Changes color of font between tags.
    <HR> Horizontal rule: places a line across page. No need for an end tag. Images may also be inserted as horizontal rules.
    <BR> Line break
    <P>paragraph text</p> Paragraph break. Double spaces before next text.
    <CENTER>text</center> Centers text horizontally
    <B>bold</b> Makes text bold
    <I>italic</i> Makes text italic
    <UL><LI></ul> Unordered, bulleted list. The <LI> tag marks each bulleted item
    <OL><LI></ol> Ordered lists where list items <LI> are numbered
    <BLOCKQUOTE>text</BLOCKQUOTE> Indents text