HTML & XHTML Tag Quick Reference
This reference notes some of the most commonly used HTML and XHTML tags. It is not, nor is it intended to be, a comprehensive list of available tags. Details regarding the proper use of XHTML are at the end of this document. What It Is Basic Document Tags What It Does Indicates the start and end of an HTML Document Defines the portion of the document that contains essential formatting information. The material in the head is invisible. Defines the portion of the document that contains the visible information.
Body Attributes What It Is What It Does Specifies the background color Specifies the text color Specifies the color of unfollowed links. Specifies the color of followed links. Specifies the color of links when they are clicked. NOTE: Body attributes may be combined within the body tag. Example: Text Tags What It Does The heading tags display text in sizes ranging from the ,, largest, h1, to the smallest, h6. These specifications ,, are intended to denote the importance data below the , heading. Specifies bold text. Specifies italics text. Specifies a typewriter or teletype-like text. Creates an emphasis on text that is rendered usually as italics, but sometimes as bold depending on the browser. Creates an emphasis on text that is usually rendered as bold, but sometimes as italics depending on the browser. Specifies the font size from 1 to 7. 1 is the largest, 7 the smallest, and 3 is generally the default size. Specifies font color. NOTE: Font attributes may be combined within the font tag. Example: Example of combined font attributes. 9/03 R. Lipera v.2.2
What It Is
Interactive Media Center http://library.albany.edu/imc/ Common Formatting Tags What It Is (HTML) What It Is What It Does (XHTML) Defines a paragraph. Defines paragraph alignment left, right, or center. Inserts a line break. Defines a block quote and indents text from...