HTML
HTML Formatting Program Language
HTML is a programming language for computers. the reason that this page exhists is so that if you are wanting to make a website, you can copy the HTML and put it on your website if your are wanting or trying to make one.
HTML codes
Basic Page:
<html>
<head>
<title>Title of your page here</title>
</head>
<body>
All the stuff you want on your page goes between the body tags.
</body>
</html>
Body Tag:
Inside the body tag <body> you can set the background, text, link and visited link colors for your page. The body tag will look like this...
<body bgcolor="#color" text="#color" link="#color" vlink="#color">
...Note replace color with the color number you want.
Background Image:
You can use an image as a background.
<body background="http://URL of Image" text="#color" link="#color" vlink="#color">
...Note replace color with the color number you want and URL with address of your image.
Background Sound:
<bgsound src="URL of song">
A Clickable Speaker to start music:
<embed src="URL of song"> ....if you are using WebTv version 2.6 this will make a play button
Basic Text Link:
<a href="URL">what you want the link to say</a>
ExamplePut an Image on your page:
<img src="URL of image">
Make an Image a Link:
<a href="URL"><img src="URL of image"></a>
Change color of your text:
<font color="#color hex number here">what you want to say here</font>
Different kinds of text:
Bold: <b>your text here</b>
Italic: <i>your text here</i>
Underlined: <u>your text here</u>
Teletype: <tt>your text here</tt>
Click Link Button:
<form action="URL Here" method="post">
<input type="submit" value="Your Text Here"> </form>
Same Page Link:
<a href="#gotohere">Your text here</a>...Then just above where on the page you want to go put this...<a name ="gotohere"></a>...Note...you can replace gotohere with any text you want
Specific Point Link on Any Page:
<a href="URL#gotohere">Your text here</a>...Then just above where on ANY page you want to go put this...<a name="gotohere"></a>...Note...you can replace gotohere with any text you want
A Line:
<hr width="50%">....you can change 50% percent to the width you want.
Line Break:
<br>...Note..use br to break a line of text or put a line of space between items on your page. You can use several<br><br><br> to give you more spaces.
Make a Marquee:
<marquee>what you want to say here</marquee>
Email Link:
<a href="mailto:your email addy here">your text here</a>
Counters:
<ISML TYPE="counter" OPTION=graphic_odometer>
<ISML TYPE="counter">
<ISML TYPE="counter" OPTION=graphic_7seg>



1492


Guestbook:
<form action=/cgi-bin/guest method=post name=fhguest>
<table border=0 cellpadding=2 cellspacing=0>
<tr><td align=right>Name:</td><td><input type=text size=40 name=guest_name value='' maxlength=50></td></tr>
<tr><td align=right>Email:</td><td><input type=text size=40 name=guest_email value='' maxlength=100></td></tr>
<tr><td align=right>HomePage:</td><td><input type=text size=40 name=guest_URL value='http://' maxlength=100></td></tr>
<tr><td valign=top align=right>Comments:</td><td><textarea name=guest_comments rows=4 cols=40 wrap=virtual></textarea></td></tr>
<tr><td align=right>have you ever owned a pet?</td><td><input type=text size=40 name=guest_opt1 value='' maxlength=100></td></tr>
<tr><td align=right>do you like the products on my website?</td><td><input type=text size=40 name=guest_opt3 value='' maxlength=100></td></tr>
<tr><td> </td><td><input type=submit value='Submit My Information'><input type=reset value=Clear><input type='button' value='Home Page' onClick=location.href='http://codeofthesamurai.50megs.com'></td></tr>
</table></form>
Framing an image table:
<CENTER><TABLE BORDER=8 BGCOLOR="#FFFFFF"> <TR><TD><IMG SRC="Image Name.GIF" HEIGHT=90 WIDTH=182></TD></TR></TABLE></CENTER>
Set background (BGCOLOR) to desired color (#FFFFFF is white),
enter your "Image Name" and set your "Height and Width" pixel size.
Page Redirect:
<meta http-equiv="refresh"content="10;url=http://URL here">...Note...This code goes between the head tags...replace 10 with the number of seconds you want
MouseOver Pop-Up Alert:
<a href="URL here"
onMouseOver="window.alert('What you want the pop-up to say here','')">Text here</a>...Note the difference in " " and ' '
Example
Click Pop-Up Alert:
<a href="URL here"
onClick="window.alert('What you want the pop-up to say here','')">Text here</a>....Note the difference in " " and '
Center
<center>Your text or image here</center>
Text/Font Size:
<font size="size number">Your Text Here</font>...Note...size number is 1-7...one being smallest...seven being largest.
Font size 1 Font size 2 Font size 3 Font size 4
Font size 5 Font size 6 Font size 7
Text/Font Size & Color:
<font color="#color" size="size number">Your Text Here</font>
Reload Button:
<form action><input type="button" value="Reload" onClick="history.go (0)"></form>
Sidebar:
<sidebar width="16%" link="#color" vlink="#color" alink="#color"> <table align="left" width="16%" border="0"> <tr> <td>
<a href="http://URL Here">Text Here</a>
<hr>
<a href="http://URL Here">Text Here</a>
<hr>
<a href="http://URL Here">Text Here</a></td></tr></table></sidebar>...Note...Sidebar goes after the <body> tag
Text in Status Bar Link:
<a href="URL Here" ONMOUSEOVER="window.status='What You Want the Status Bar to Say Here';return true" ONMOUSEOUT="window.status='';return true">Text or Image Here</a>....NOTE the Difference in ' ' apostrophe and " " quote....
Text Box:
(form)(textarea bgcolor="#888888" text="#000000" rows="4" cols="55" autoactivate usestyle) What you want to say Here!(/textarea)(/form)...Note...Replace the ( ) with< >
WebTv Clock:
<clock></clock>

Hope That You find Some Helpful Things!
I hope that you get some helpful things from this page if you need it and remember that you can always email me if you want me to put something else on this page that has to do with html which can also be a new object in html code. Thanks for reading this page!