UB Information Technology

Documentation

 HTML Reference

Documentation print footer; appears at "bottom" of first page.

Adobe Reader 7 for Windows

Platform: Windows

HTML

Reference

Computing and Information Technology

Basic Tags
Begin an HTML file <HTML>
Start Header   <HEAD>
Define Title for document     <TITLE>
Close Title     </TITLE>
Close Header   </HEAD>
Begin Body content (include all file content after this tag)   <BODY>
Close Body   </BODY>
Close HTML code </HTML>
Alternative Body Tags
<BODY BACKGROUND="file.ext"> ... </BODY> Body with a background consisting of an image where file.ext is the name of the file.
<BODY BGCOLOR=#XXXXXX> ... </BODY> Body with a colored background, where XXXXXX is the hex code for a particular color. #FFFFFFis white, while #000000 is black.
<BODY LINK="#XXXXXX" alink="#XXXXXX" vlink="#XXXXXX" > ... </BODY> Body with colored links, active links, and visited links, where XXXXXX are colors in hex. The colors do not need to be the same.
Text Dividers
<BR> Begin a new line
<P> Begin a new line after a blank line
<HR> Insert a horizontal line
Headers
<Hx> .... </Hx> Header, where x is a number from 1 to 6, the larger the number, the smaller and less prominent the Header becomes.

Preformatted Text
<PRE> .... </PRE> Text in a fixed width font which causes spaces, new lines, and tabs to become evident
Quotations
<BLOCKQUOTE> .... </BLOCKQUOTE> Creates a block of indented text.
Character Formatting
<B> ... </B> Bold the enclosed text
<I> ... </I> Italicize the enclosed text
<U> ... </U> Underline the enclosed text
<sub> ... </sub> Subscript the enclosed text
<sup>... </sup> Superscript the enclosed text
Lists
<UL> Set up an unordered list
</UL> Close an unordered list
<OL> Set up an ordered list
</OL> Close an ordered list
<LI> Identify each item in an ordered or unordered list
<OL START=#> Begin numbering with a specific Arabic numeral
<OL STYLE=A> Use capital letters
<OL STYLE=a> Use lowercase letters
<OL STYLE=I> Use capital Roman numerals
<OL STYLE=i> Use lowercase Roman numerals
<DL> ... </DL> Enclosed items form a definition list
<DT> Definition term
<DD> Definiton data (indents five spaces)
Images
<IMG SRC="filename.ext"> Include an image, where filename.ext is the name of the .jpg, .bmp, or .gif file.
<IMG SRC="filename.ext" ALT="my file"> Provide an alternate text name (my file) for an image in a non-graphical browser
<IMG ALIGN="middle" SRC="filename.ext"> align text with the center of an image
Links
<A HREF="http://file.html">link</A> Create a link to a file locally or at a remote URL named file.html with a link name of link
<A HREF="mailto: someone@place.com">
someone@place.com</A>
Create a link to send mail to someone@place.com
Special Characters
&amp; &
&reg; ®
&copy; ©
&gt; >
&lt; <
&quot; "
&Agrave; Capital A with a grave mark, À
&eacute; Lowercase e with an acute mark, é
&ouml; Lowercase o with umlaut, ö
&nbsp; Non-breaking space
Comments
<!-- ... -- > Text within these tags will not be displayed