The following table is a quick reference of some of the most common tags.
| <html> | display and ends an HTML document | </html> |
| <head> | used to add non-displaying text ( see Head) | </head> |
| <title> | adds the document name displayed on the title bar | </title> |
| <meta> | used to add meta information to a web page (see Meta) | (no closing tag) |
| <body> | contains the main or displayed part of a document (see Body) | </body> |
| <h1 .. h6> | formats text for headings from 1 (the largest) to 6 (the smallest) | </hl .. /h6> |
| <b> | bold the text (<strong> also displays bolded text but is listed as a depreciated tag </strong>) | </b> |
| <i> | italicizes the text (<em> also displays italicized text but is listed as a depreciated tag </em>) | </i> |
| <u> | underlines the text (underlined text is often reserved for a hyperlink) | </u> |
| <p> | determines where a paragraph begins and ends also adds blank line | </p> |
| <div> | block level container with characteristics of <p> | </div> |
| <span> | inline level container for modifying sections of text or object | </span> |
| <a> | creates a hypertext link (see Anchor) | </a> |
| *Exceptions that don't use closing tags - Use a space and slash to end the tag | ||
| <img /> | *displays an image defined by the information typed into the tag (see Image) | |
| <br /> | *adds a line break | |
| <hr /> | *displays a horizontal rule or line across the page | |
| | adds a non-breaking space (not really a tag but handy to know) | |
| <ol> | Encloses a number (ordered) list | </ol> |
| <ul> | Encloses a bulleted (unordered) list | </ul> |
| <li> | A list item within an ordered or unordered list | </li> |
| <table> | Creates a table (see Table) | </table> |
| <font> | Modifies the font. Stylesheets should be used rather than the FONT tag. | </font> |
Updated December 1, 2007