Use this guide for on-line help with HTML markup code that you come across. Since HTML is ever-changing, this is just a basic guide that should help most beginners make a basic web site. I stress,... this really is a "Basic" guide, and not intended for advanced HTML, DHTML or JavaScript etc. Be aware that most of the code presented below can be copied with your browser and "cut" and "pasted" into your own documents for easy use!
<html> <head> <title>Header title</title> </head> <body>
Here is the main text of the document
</body> </html>
Back to the Table of Contents
FONT SIZE=4 FACE="MS SANS SERIF" COLOR="#FF0000"
(of course in HTML brackets...) followed by a /FONT (also in HTML brackets)
which prints the text before the (end font) command... Like this:
Text
Font size is the opposite of (heading sizes) "above"... Bigger font size numbers... make larger font sizes.
Back to the Table of Contents
<DL>definition list <DT>this is a keyword <DD>This is the definition. <DT>This is the next keyword <DD>And the next definition. </DL>
<DIR>This is a directory list <LI>This is an entry. <LI>This is the next entry </DIR>
<MENU> <LI>Dies ist MENU item 1 <LI>Dies ist MENU item 2 </MENU>
<OL>ordered list <LI>first entry <LI>second entry </OL>
<UL>unordered list <LI>first entry <LI>second entry </UL>
Back to the Table of Contents
<LISTING>This is listing text</LISTING>
<EM>This is emphasis text</EM>This is emphasis text
<STRONG>This is strong text</STRONG>This is strong text
<CODE>This is programcode</CODE>
This is programcode<SAMP>This is sample text</SAMP>This is sample text
<CENTER>This is centered text</CENTER>
Back to the Table of Contents
<U>underlined</U>underlined
<S>strike through</S>
<SUP>superscript</SUP>TEXTsuperscript
<SUB>subscript</SUB>TEXTsubscript
<I>italic</I>italic
Back to the Table of Contents
<img src="/gifs/nonexistant.gif" alt="alternate text">
<body bgimage="APOL.GIF">
text .. text <img width=66 height=40 src="/gifs/testpicture.gif" alt="picture" align="right" hspace=10> text .. texttext ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ... text ...
text .. text <img width=66 height=40 src="/gifs/testpicture.gif" alt="picture" align="left" hspace=10> text .. texttext ... text ... text ... text ... text ... text ... text
text .. text <img src="/gifs/testpicture.gif" alt="picture" align="top" hspace=10> text .. texttext ... text ... text ... text ... text ... text ... text
text ... text
text .. text <img src="/gifs/testpicture.gif" alt="picture" align="middle" hspace=20> text .. texttext ... text ... text ... text ... text ... text ... text
text ... text
text .. text <img src="/gifs/testpicture.gif" alt="picture" align="bottom" hspace=30> text .. texttext ... text ... text ... text ... text ... text ... text
text ... text
text .. text <img src="/gifs/testpicture.gif" alt="picture" align="left" hspace=30> text .. text<BR> text .. text<BR> text .. text<BR> text .. text<BR CLEAR=ALL>text ... text ... text ... text ... text ... text ... text
text ... text
<img width=33 height=20 src="../images/logo.gif" alt="picture" align="left" hspace=10>
Back UP to the Table of Contents
<A HREF="http://www.familyway.net">Link to an outside site.</A>Link to an outside site.
<A HREF="../index.html">The Homepage here.</A>The homepage here.
<a href="#TOC">Table of Contents </a>Table of Contents
Back UP to the Table of Contents
Back UP to the Table of Contents
<HR WIDTH=75%> reduced horizontal ruler
<HR SIZE=6%> bold horizontal ruler
<A HREF="mailto:somebody@location"> somebody@location </A>somebody@location
<font size="2">size = 2</font>
size = 2
<font size="3">size = 3</font>
size = 3
<font size="4">size = 4</font>
size = 4
<font size="5">size = 5</font>
size = 5
<font size="6">size = 6</font>
size = 6
<font size="7">size = 7</font>
size = 7
Back UP to the Table of Contents
| Red | "#FF0000" |
| Light Red | "#FF8080" |
| Pink | "#FFC0C0" |
| Mid Red | "#C00000" |
| Dark Red | "#800000" |
| Black | "#000000" |
| White | "#FFFFFF" |
| Grey | "#C0C0C0" |
| Dark Grey | "#808080" |
| Charcoal | "#404040" |
| Orange | "#FF8000" |
| Lt. Orange | "#FFC080" |
| Yellow | "#FFFF00" |
| Light Gold | "#C0C000" |
| Dark Gold | "#808000" |
| Green | "#00FF00" |
| Mid Green | "#00C000" |
| Dark Green | "#008000" |
| Forest Green | "#004000" |
| Blue | "#0000FF" |
| Mid Blue | "#0000C0" |
| Dark Blue | "#000080" |
| Cyan | "#00C0C0" |
| Dark Cyan | "#008080" |
| Purple | "#C000C0" |
You can add sound in "Background"....
BGSOUND SRC="NBDYHOME.MID"
Or "Embed" sound....
EMBED SRC="CRAZYLIT.MID"
Most of the time, it is best to do BOTH. The correct code is listed below:
<BGSOUND SRC="CRAZYLIT.MID"><EMBED SRC="CRAZYLIT.MID>
Back UP to the Table of Contents
The following is the proper code to make a button. (like the one you see above.)
Note that it actually looks like a Windows button,
and is actually a type of small form.
<FORM METHOD="LINK" ACTION="help.htm"> <INPUT TYPE="SUBMIT" VALUE="Help"> </FORM>
Back UP to the Table of Contents
<TABLE WIDTH=100% BORDER=14 CELLSPACING=14 CELLPADDING=8> <TD ALIGN=MIDDLE VALIGN=MIDDLE> <FONT SIZE=7><B>This Demands Attention!</B></TD> </TABLE>
| This Demands Attention! |
<TABLE WIDTH=100% BORDER=1 CELLPADDING=2 VALIGN=TOP>
<TR><TD WIDTH=50% ALIGN=middle>centred</TD>
<TD ALIGN=right>right sided</TD></TR>
<TR><TD WIDTH=80%>left sided</TD>
<TD WIDTH=10%><font size="1">small</font></TD></TR>
</TABLE>
| centred | right sided |
| left sided | small |
<TABLE WIDTH=100% CELLPADDING=4>
<TR><TD WIDTH=50% VALIGN=TOP>
<TABLE WIDTH=100% BORDER=1 CELLPADDING=2>
<TR><TD WIDTH=80% ALIGN=middle>1</TD><TD ALIGN=right>2</TD></TR>
<TR><TD WIDTH=50% ALIGN=middle>3</TD><TD ALIGN=right>4</TD></TR>
</TABLE></TD>
<TD WIDTH=50% VALIGN=TOP>
<TABLE WIDTH=100% BORDER=1 CELLPADDING=2>
<TR><TD WIDTH=80% ALIGN=middle>5</TD><TD ALIGN=right>6</TD></TR>
<TR><TD WIDTH=50% ALIGN=middle>7</TD><TD ALIGN=right>8</TD></TR>
</TABLE>
</TABLE>
|
|
<TABLE WIDTH=110% BORDER=1 CELLPADDING=2 VALIGN=TOP> .....and so on...
| 1 | 2 | 3 | 4 |
| 5 | 6 | 7 | 8 |
Back UP to the Table of Contents