Summary of Content |
The charts on this page contain a reference to most of the HTML tags in HTML 4.0. This quick reference sheet provides
programmers familiar with the HTML language with an organized list in the case of a forgotten tag, tag spelling, or tag usage. Note however, this is not a complete tag tutorial, it merely provides a quick datasheet for easy reference. If you are looking for a more comprehensive guide to HTML tags, please refer to: Abiglime's HTML Reference Section |
A double mouse click anywhere on the page (except when over hyperlinks) will take you back to the top. |
< Structural Tags > | |
Tag | Description |
<!--your data--> | Creates comments that are not interpreted by the browser |
<!--#SSI type--> | Creates a server side include |
<!doctype> | A formal area to declare what html standards you are adhering to |
<address> | Specially formats text that should be used to show authorship information |
<applet> | Creates and formats an area for a java applet to run |
<base> | Used to define the url of the current page |
<body> | Viewable portion of the document; is also where you set background, text colours, etc. |
<head> | Sets apart the title and everything else not displayed on the web page itself |
<html> | Creates the html document |
<isindex> | Declares that html document is an index document |
<meta> | Used within the <head> tag to embed misc. information |
<noscript> | Used to define alternative content for viewers whose browsers do not support scripts |
<object> | Provides a way for ActiveX Controls and other media to be embedded in a document |
<script> | Allows the insertion of scripts, such as JavaScript |
<style> | Used to define style sheet information within the <head> tag |
<title> | Puts the title of the page in the title bar |
< Text Tags > | ||
Tag | Description | Example |
<b> | Creates bold text | example |
<blink> | Causes enclosed text to blink (Netscape Browsers Only) | example |
<cite> | Creates an italic citation | example |
<em> | Emphasizes a word with italics | example |
<font> | Sets font attributes such as face, size and colour | <font face="Arial" size=-10pt colour="ff0000"> |
<h1> | Creates a size 1 headline (largest) | example |
<h2> | Creates a size 2 headline | example |
<h3> | Creates a size 3 headline | example |
<h4> | Creates a size 4 headline | example |
<h5> | Creates a size 5 headline | example |
<h6> | Creates a size 6 headline (smallest) | example |
<i> | Creates italic text | example |
<marquee> | Creates scrolling text (Internet Explorer Only) | Example of scrolling text |
<plaintext> | Causes everything within tags, including other tags, to be treated as plain text | |
<pre> | Creates preformatted text | example |
<span> | Used within a block of text to apply a style as defined in a style sheet | <span style="background-colour: #00cccc">Text</span> |
<strike> | Draws a horizontal line through the enclosed text | example |
<strong> | Emphasizes a word with boldness | example |
<sub> | Subscripts the enclosed text | example |
<sup> | Superscripts the enclosed text | example |
<tt> | Creates typewriter style text | example |
<u> | Underlines enclosed text | example |
<O> | Overlines enclosed text | example |
<xmp> | Used to present blocks of text in fixed-width font |
< Format Tags > | |
Tag | Description |
<basefont> | Changes the base font size; all further changes are based on the new size |
<big> | Makes the enclosed text bigger |
<blockquote> | Indents text from both sides |
<br> | Inserts a line break |
<center> | Centres the enclosed text |
<code> | Formats text when used to display code or a formula |
<dd> | Creates a definition |
<dfn> | Formats text to indicate the defining instance of a term |
<dir> | Used to create a bulleted directory list |
<div> | A generic tag used to format large blocks of HTML, also used for style sheets |
<dl> | Creates a definition list |
<dt> | Precedes each definition term |
<li> | Creates an item in a list |
<listing> | Used to format text in a fixed width font |
<menu> | Creates a compact unordered list |
<multicol> | Allows text to be formatted into multiple columns |
<nobr> | Disallows line breaks to be used within tag |
<ol> | Creates a numbered list |
<p> | For creating, formatting, and aligning a paragraph |
<small> | Makes the enclosed text smaller |
<spacer> | Allows the insertion a block of white space |
<ul> | Creates a bulleted list |
<var> | Used to indicate a variable name; usually displayed in italics |
<wbr> | Used to tell a browser where a word or line can be broken if needed |
< Multimedia Element Tags > | |
Tag | Description |
<bgsound> | Creates a background sound (Internet Explorer Only) |
<embed> | Embeds a sound file |
<hr> | Creates and formats a horizontal rule |
<img> | Creates and formats an image |
<sound> | A way to insert a background sound |
< Table and Mapping Tags > | |
Tag | Description |
<area> | Used to define an area within an image map |
<caption> | Creates a table caption |
<col> | Used to specify text alignment in tables |
<colgroup> | Used to group table columns together for unified formatting |
<map> | Creates an image map |
<table> | Creates a table |
<tbody> | Used to define the body section of a table |
<td> | Creates a table data field |
<tfoot> | Used to define the footer section of a table |
<th> | Creates a table header |
<thead> | Used to define the head section of a table |
<tr> | Creates a table row |
< Frame Tags > | |
Tag | Description |
<frame> | Creates and formats a single frame within a frameset |
<iframe> | Creates a floating frame |
<noframes> | Defines what will be seen by a browser that does not support frames |
<frameset> | Sets attributes for frames on a page |
< Form Tags > | |
Tag | Description |
<form> | Creates all forms |
<input> | Creates different ways for viewers to input information |
<option> | Creates and sets off each menu item for a menu in a form |
<select> | Creates a menu within a form |
<textarea> | Creates and formats a text box area |
Hyperlink titles have been abbreviated, (right click on the link and select properties for the full URL)
Double mouse click anywhere on the page to take you back to the top (except when over the links)
Last Update: 04/03/2008 - HTML Tags Quick Reference - Neils Resource Web