| You are here: ASTech > Engineering Library > Services > HTML Tags Cribsheet - Metatags - apply to entire document
<HTML> <HEAD> <TITLE>...</TITLE> </HEAD> <BGCOLOR=> specify common color name or hexadecimal code (browser-safe colors) (optional) <background=> specify image file (optional) <BODY>...</BODY> </HTML> - Tags supporting text structure
<P> paragraph <BR> line break <HR> horizontal rule <CENTER>...</CENTER> way to center text <ADDRESS>...</ADDRESS> email address of author; italics text <BLOCKQUOTE>...</BLOCKQUOTE> indented paragraph <H1-H6>...</H1-H6> headings 1-6 (1 is the largest) <OL>...</OL> ordered (numbered) list <UL>...</UL> unordered (bulleted) list <LI> list item (may use <LI type=square, circle> <DT>...</DT> Description title (left-aligned) <DD>...</DD> Description text /detail (indented, no bullets or numbers) <!--...--> comments seen only in editor, not seen in browser - Text Attribute Tags
<B>...</B> bold <I>...</I> italics <TT>...</TT> fixed-width font <sup>..</sup> enclosed text apears as a superscript <sub>..</sub> enclosed text appears as a subscript <font size=>..</font> specify size of +1-7 <font color=>..</font> specify color name or hexadecimal code (browser-safe colors) <font family=>..</font> specify name of font, such as arial, times - Table Tags
<TABLE> ...</TABLE> - begin and end of table <TR>..</TR> - begin and end of table row <TD> ...</TD> - begin and end of table detail - Navigational Tags
Anchors and hyperlinks have this format - protocol://machine.name:port/folder/html URL examples: http://... ftp://... gopher://... telnet://... external tag: <A HREF= "URL">...</A> example: <A HREF= "http://www.cornell.edu/">CUINFO</A> internal tag: <A HREF= "#name">...</A> internal target: <A NAME= "name">...</A> image source: <IMG SRC="name.gif" ALT="alternate text"> mailto: <A HREF="mailto:engrlib@cornell.edu">...</A> See also HTML Basics |
|