Copy and Paste Html Tags

HTML



 WHAT'S NEW 
 HTML FORUM 
 SITE MAP 
 REQUEST HELP 
 TRADE LINKS 
 FREE LINKS PAGE 






WEBMASTERS
Earn Money
Per Click!




SmallDot.com


BraveNet


TrafficSwarm


Submit9000


CodeBrain


Color Schemer


FlashBanger


123TurnKey.com


Web Page Templates


Dynamic Drive


Javascript Source


Javascript City


Javascript Kit


JavaPowered


FreewareJava
Home
General
HTML
Java Applets
Javascript
Wizards
Contact


The Html Help Guide


Copy & Paste Tags



This is a quick reference to many html tags. There will not be alot of explanations or instructions. I will use the name image.jpg as the default name for all images, the words Click Here as the default text in all link tags, and sound.mid will be used as the default sound file name.




Font Tags

Font color
<font color="#000000">Text Here</font>

Font face
<font face="Arial">Text Here</font>

Font size (can be from 1 to 7)
<font size="3">Text Here</font>

Full font tag
<font size="3" face="Arial" color="#000000">Text Here</font>

Full font tag aligned left
<font size="3" face="Arial" color="#000000" align=left>Text Here</font>

Full font tag aligned center
<font size="3" face="Arial" color="#000000" align=center>Text Here</font>

Full font tag aligned right. <font size="3" face="Arial" color="#000000" align=right>Text Here</font>


Image Tags

Basic image tag
<img src="image.jpg">

To remove the blue border (when used in an image link)
<img src="image.jpg" border=0>

Full image tag (suggested)
<img src="image.jpg" width=xx height=xx border=0 alt="about this image">

Full image tag aligned left
<img src="image.jpg" width=xx height=xx border=0 alt="about this image" align=left>

Full image tag aligned center
<img src="image.jpg" width=xx height=xx border=0 alt="about this image" align=center>

Full image tag aligned right
<img src="image.jpg" width=xx height=xx border=0 alt="about this image" align=right>

Center an image on the page (Not the same as align=center)
<center><img src="image.jpg" width=xx height=xx border=0 alt="about this image"></center>


Image Link Tags

Image link to an html page in the same directory.
<a href="page.html"><img src="image.jpg" width=xx height=xx border=0 alt="About Image"></a>

Image link to an html page in a subdirectory.
<a href="sub_name/page.html"><img src="image.jpg" width=xx height=xx border=0 alt="About Image"></a>

Image link to a page on a remote site.
<a href="http://www.somewebsite.com"><img src="image.jpg" width=xx height=xx border=0 alt="About Image"></a>

Image email link.
<a href="mailto:your_email@address"><img src="image.jpg" width=xx height=xx border=0 alt="About Image"></a>

Image email link with subject.
<a href="mailto:your_email@address?subject=Your Web Site"><img src="image.jpg" width=xx height=xx border=0 alt="About Image"></a>

Image link with status bar text.
<a href="page.html" onMouseOver=" window.status='Status Text Here'; return true" onMouseOut="window.status=' '; return true"><img src="image.jpg" width=xx height=xx border=0 alt="About Image"></a>

Image link open page in new window.
<a href="page.html" target="_blank"><img src="image.jpg" width=xx height=xx border=0 alt="About Image"></a>

Image link open page in a frame window.
<a href="page.html" target="frame_name"><img src="image.jpg" width=xx height=xx border=0 alt="About Image"></a>


Text Link Tags

Text link to an html page in the same directory.
<a href="page.html">Click Here</a>

Text link to an html page in a subdirectory.
<a href="sub_name/page.html">Click Here</a>

Text link to a page on a remote site.
<a href="http://www.somewebsite.com">Click Here</a>

Text email link.
<a href="mailto:your_email@address">Click Here</a>

Text email link with subject. Example
<a href="mailto:your_email@address?subject=Subject Goes Here">Click Here</a>

Text link with status bar text. Example
<a href="page.html" onMouseOver=" window.status='Status Text Here'; return true" onMouseOut="window.status=' '; return true">Click Here</a>

Text link open page in new window. Example
<a href="page.html" target="window">Click Here</a>

Text link open page in a frame window.
<a href="page.html" target="frame_name">Click Here</a>

Text link with description. Example <a href="page.html" title="Description Here">Click Here</a>


Text Alignment Tags

Text aligned left.
<p align=left>Text Here</p>

Text aligned center.
<p align=center>Text Here</p>

Text aligned right.
<p align=right>Text Here</p>

Text in blockquote. (Equal space on left and right of paragraph)
<blockquote>Text Here</blockquote>

Justify text.
<p align="justify">Paragraph here</p>


Background Music

It's best to place these sound tags at the bottom of your page Right Above the tag. Replace all instances of sound.mid with the name of your sound file.

This tag will start playing automatically and play the sound continuously.
<EMBED src="sound.mid" AUTOSTART=true HIDDEN=true LOOP=true><NOEMBED><BGSOUND SRC="sound.mid" AUTOSTART=true LOOP=infinite HIDDEN=true></NOEMBED>

This tag will display a control box, start playing automatically, and stop after playing once.
<EMBED src="sound.mid" AUTOSTART=true LOOP=false WIDTH=144 HEIGHT=74><NOEMBED><BGSOUND SRC="sound.mid" AUTOSTART=true LOOP=1 WIDTH=144 HEIGHT=74></NOEMBED>

This tag will display a control box, require the play button to be clicked, and stop after playing once.
<EMBED src="sound.mid" AUTOSTART=false LOOP=false WIDTH=144 HEIGHT=74><NOEMBED><BGSOUND SRC="sound.mid" AUTOSTART=false LOOP=1 WIDTH=144 HEIGHT=74></NOEMBED>

This tag will start playing automatically and play the sound continuously.
<EMBED src="sound.mid" AUTOSTART=true HIDDEN=true LOOP=true><NOEMBED><BGSOUND SRC="sound.mid" AUTOSTART=true LOOP=infinite HIDDEN=true></NOEMBED>

This tag will start playing automatically and stop after playing once.
<EMBED src="sound.mid" AUTOSTART=true HIDDEN=true LOOP=false><NOEMBED><BGSOUND SRC="sound.mid" AUTOSTART=true LOOP=1 HIDDEN=true></NOEMBED>



Join the Html Help Guide mailing list
Enter your email address.
Subscribe    Unsubscribe