Provides an introduction to basic HTML coding.
HTML Tags
Header tags | |
HTML Code | Sample |
<H1>Header 1</H1> |
Header 1 |
<H2>Header 2</H2> |
Header 2 |
<H3>Header 3</H3> |
Header 3 |
<H4>Header 4</H4> |
Header 4 |
<H5>Header 5</H5> |
Header 5 |
<H6>Header 6</H6> |
Header 6 |
Text formatting tags | |
HTML Code | Sample |
<B>bold</B> | bold |
<U>underline</U> | underline |
<I>italic</I> | italic |
Alignment tags | |
HTML Code | Sample |
<P ALIGN=Left>your text |
your text |
<P ALIGN=Center>your text |
your text |
<P ALIGN=Right>your text |
your text |
Ordered list (numbers) | |
HTML Code | Sample |
<OL> <LI>First row <LI>Second row </OL> |
|
Unordered list (bullets) | |
HTML Code | Sample |
<UL> <LI>First row <LI>Second row </UL> |
|
Definition list | |
HTML Code | Sample |
<DL> <DT>Term <DD>Description </DL> |
|
Horizontal line tag | |
HTML Code | Sample |
<HR> |
![]() |
<HR SIZE=6 WIDTH=50%> |
![]() |
Break tags | |
HTML Code |
Description |
<P> | Paragraph break |
<BR> | Forced line break |
Indentation tag | |
HTML Code | Sample |
Here is some text. <BR> <BLOCKQUOTE>Here is one line of indented text.<BR> Here is another line of indented text. </BLOCKQUOTE> |
Here is some text.
|
External link tags | |
HTML Code | Sample |
<A HREF="filename or URL">description</A>
For example: |
CNN |
Internal link tag (anchor tag) | |
HTML Code | Sample |
<A NAME="anchor name">Section name</A>
For example: |
Introduction |
Internal link tag (link tag) | |
HTML Code | Sample |
<A HREF="#anchor name">Destination</A>
For example: |
Introduction |
Graphic tags | |
HTML Code | Sample |
<IMG SRC="balloon.gif"> (By default, the graphic is left aligned.) |
![]() |
<IMG SRC="balloon.gif" Align=right> |
![]() |
<P ALIGN=Center> <IMG SRC="balloon.gif"> |
|
<IMG SRC="balloon.gif" Align=right Vspace=20> |
![]() |
<IMG SRC="balloon.gif" Align=left Hspace=30> |
![]() |