HTML codes

Last updated: Tue Jul 19 15:11:22 2005

Compiled by Sven Berkvens

<HTML> Marks beginning of a document
</HTML> Marks end of a document


<HEAD> Marks beginning of the header
</HEAD> Marks end of the header
<TITLE> String to display as the title
</TITLE> End of the title string
<ISINDEX> Indicates a searchable document
<LINK> Indicates relevant links. Same attributes as <A> below.
<BASE HREF="x"> Indicates the base URL

<BODY> Marks the beginning of the body
</BODY> Marks the end of the body
<A HREF="x"> Marks a link to x
<A NAME="x"> Marks x to be a marker in the document, for use with #
<A TITLE="x"> Only used with HREF to specify the title of the new document
</A> End of one of the anchors above
<ADDRESS> Marks the beginning of the address style (implies a new paragraph). <P> does not insert extra whitespace.
</ADDRESS> Marks the end of the address style
<BLOCKQUOTE> Start a block quotation (implies a new paragraph)
</BLOCKQUOTE> End of block quotation
<H1> Starts a header, typically in a very large, bold font
<H2> Starts a header, typically in a large, bold font
<H3> Starts a header, typically in a large, italic font
<H4> Starts a header, typically in a normal, bold font
<H5> Starts a header, typically in a normal, italic font
<H6> Starts a header, typically in a bold font
</Hx> Ends the header of level x
<IMG SRC="x"> Specify which image should be loaded inline
<IMG ALIGN="x"> Specify TOP, MIDDLE or BOTTOM. Specifies where the text goes.
<IMG ALT="x"> Text to display if the image cannot be displayed
<DL> Starts a glossary. <DT> appears on seperate lines.
<DL COMPACT> Starts a glossary. <DT> is on the same lines as <DD>.
<DT> Specify the title or the term
<DD> Specify the definition
</DL> End the glossary
<UL> Starts a list (elements are marked by dots)
<OL> Starts a list (elements are numbered)
<MENU> Starts a list (similar to UL but more compact)
<DIR> Starts a list of very small elements (more than one column)
<LI> Start a element
</UL> Ends a list started with <UL>
</OL> Ends a list started with <OL>
</MENU> Ends a list started with <MENU>
</DIR> Ends a list started with <DIR>
<P> Marks the beginning of a new paragraph
<BR> Break the line and start of the next one
<PRE> Starts preformatted text (implies a new paragraph). Anchors may be use inside this text.
<PRE WIDTH="x"> Starts preformatted text with a maximum width of x characters
</PRE> Ends preformatted text
<TT> Starts the fixed-width typewriter style font
</TT> Ends the typewriter style
<B> Starts boldface text
</B> Ends boldface text
<I> Starts italic text
</I> Ends italic text
<U> Starts underlined text
</U> Ends underlined text
<EM> Starts emphasized text, typically italic
</EM> Ends emphasized text
<STRONG> Starts strongly emphasized text, typically bold
</STRONG> Ends strongly emphasized text
<CODE> Starts code-text, typically monospaced (NOT the same as <PRE>)
</CODE> Ends code-text
<SAMP> Starts a sequence of literal characters
</SAMP> Ends the sequence of literal characters
<KBD> Starts text to be typed be a user
</KBD> Ends text to be typed
<VAR> Starts a variable-name-font
</VAR> Ends the variable-name-font
<DFN> Starts the defining instance of a term, typically bold or italic
</DFN> Ends the defining instance of a term
<CITE> Starts a citation
</CITE> End a citation

<HR> Horizontal rule

&lt; Less than sign ( < )
&gt; Greater than sign ( > )
&amp; Ampersand sign ( & )
&quot; Double quote sign ( " )

&AElig; Capital Æ ligature
&aelig; Small æ ligature

&xacute; Letter x with an accent acute on it ( ' )
&xcirc; Letter x with a circumflex on it ( ^ )
&xgrave; Letter x with an accent grave on it ( ` )
&xring; Letter x with a ring above it
&xtilde; Letter x with a tilde above it ( ~ )
&xuml; Letter x with an umlaut above it (two dots)
&xcedil; Letter x with a cidella under it
&xslash; Letter x with a slash through it ( / )

And last but not least, a link to A Beginner's Guide to HTML


marcolz@stack.nl (Marc Olzheim)

<-Back to Zlo's homepage.