Jump to content
xisto Community
Sign in to follow this  
Saint_Michael

Saint_michael Html Tips & Tricks Issue #1 useful html stuff

Recommended Posts

this little trick i though was useful it used to send a visitor to another page using meta tag and it sends the user to another page with in a few seconds for example you will go to the new page in 5 seconds

 



<META HTTP-EQUIV=REFRESH CONTENT="5;URL=yoursitehere.com/;

and for those have a good knowledge of javascript they could use this script right here
 



<html><head><title>Refresh Page</title><script language="JavaScript"><!--var time = nullfunction move() {window.location = 'http://yoursite.com'}//--></script></head><body onload="timer=setTimeout('move()',3000)"><p>see this page refresh itself in 3 secs.</body>

and those who think its cool to added a song to thier website for fansites this is a goo trick right here
 



<EMBED SRC=your_file.mid WIDTH=144 HEIGHT=60 AUTOSTART=true HIDDEN=true LOOP=1>

heres some info on the tags that are used for this

-WIDTH/HEIGHT- this tag is use to show how big you want the media play to be on the website

-EMBED- this tage is used to put the actual file on your website and to run whatever is in that tag

-AUTOSTART-this tag is used when some come to your site it automatically plays if you set it false they have the option to play it.

-LOOP- this tag tells you how many times the song file will play on the website you have the option to take the loop off in which it play indefinate.

-HIDDEN- this tag is use to the hide the music file which is always a good thing so it won't take space up on the wesbite but its not usual good if web viewers can't turn it off


heres another beginner intermidate html code its callled the gradiant effect it takes two colors to make a cool little background effect
 



<body style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#C0CFE2', startColorstr='#FFFFFF', gradientType='0');">

and finally here for beginners is background effects for your website background or table back ground here is the coding
 



<body bgcolor=#000000>[COLOR=blue]or[/COLOR]<body background="backgroundimage.jpg">

and to use it for tables this is how you would go


<TABLE BORDER="0" CELLPADDING="4" ALIGN="Center" WIDTH="50%"><TR><TD BACKGROUND="bg.gif" WIDTH="10%"></TD><TD BGCOLOR="#EAE8E8"></TD></TR></TABLE>


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.