-
Htlm scripts
Hello Everyone
Ever own a website but didn't know how to add HyperText Markup Language (HTML) to improve its look, well help could be at hand.
Link youtube to your website
Simply copy & paste the code below into your webpage.
<iframe width="420" height="315" src="http://www.youtube.com/embed/ve65wo5N0u0" frameborder="0" allowfullscreen></iframe>
Simply change the link to what ever link you choose, and adjust width="???" & height="???" to suit.
To be continue........
-
The Following User Says Thank You to ilearn2t For This Useful Post:
-
Add table code:
<table border cellspacing="10" cellpadding="10" width="80%">
<tr valign="Top">
<td width="20%">add text here</td>
<td width="80%">add text here</td>
</tr>
</table>
To add more tables simply add extra td codes under td 80% line and above </tr>
<td width="20%">add text here</td>
<td width="80%">add text here</td>
You can adjust 20% & 80% to suit
I'll add a link back to FXOpen on one of my webpages to show some funny codes, shortly.
To be continue........
-
The Following User Says Thank You to ilearn2t For This Useful Post:
-
This code will count the words you place in the box.
<form method="POST" name="wordcount">
<script language="JavaScript">
function countit(){
var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.le ngth
}
</script>
<table bgcolor="black" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><textarea style="background:#99FFFF" rows="12" name="wordcount2" cols="20" wrap="virtual"></textarea></td>
</tr>
<tr>
<td width="100%"><div align="right"><p><input type="button" value="Calculate Words"
onClick="countit()"> <input type="text" name="wordcount3" size="20"></p>
<div align="center"></p>
</center></div></div></td>
</tr>
</table>
</form>
Again adjust width etc, to suit
To be continue........
-
The Following User Says Thank You to ilearn2t For This Useful Post:
-
Use this code to display today's date and current time on your title page.
Place the code below between the <HEAD> and </HEAD> tags within the HTML page
<script language="JavaScript">
<!--
function resetIt() {
// Calculate Time
var timerID = null;
var timerRunning = false;
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
// getTime
var timeNow = new Date();
var hours = timeNow.getHours();
var minutes = timeNow.getMinutes();
var seconds = timeNow.getSeconds();
var timeValue = "" + ((hours >12) ? hours -12 :hours)
timeValue = ((timeValue <10)? "0":"") + timeValue
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += ((seconds < 10) ? ":0" : ":") + seconds
timeValue += (hours >= 12) ? " PM" : " AM"
timerID = setTimeout("resetIt()",100);
timerRunning = true;
// getDate
var dateNow = new Date();
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thu rsday','Friday','Saturday');
var months = new Array('January','February','March','April','May',' June','July','August','September','October','Novem ber','December');
var date = ((dateNow.getDate()<10) ? "0" : "")+ dateNow.getDate();
function y2k(number){return (number < 1000) ? number + 1900 : number;}
// compileIt
today = timeValue + " " + days[dateNow.getDay()] + " " +
months[dateNow.getMonth()] + ", " +
date + " " +
(y2k(dateNow.getYear()));
if(document.all || document.getElementById){ // Browser Check
document.title = today.toString();
}else{
self.status = today.toString(); // Default to status.
}
}
resetIt();
//-->
</script>
To be continue........
-
The Following User Says Thank You to ilearn2t For This Useful Post:
-
<marquee behavior="scroll" direction="left">PLACE TEXT HERE</marquee>
<marquee behavior="alternate">PLACE TEXT HERE</marquee>
<marquee behavior="scroll" direction="left" scrollamount="1">PLACE TEXT HERE</marquee>
<marquee behavior="scroll" direction="left" scrollamount="10">PLACE TEXT HERE</marquee>
<marquee behavior="scroll" direction="left" scrollamount="20">PLACE TEXT HERE</marquee>
<marquee behavior="scroll" direction="up">PLACE TEXT HERE</marquee>
Use one or more of the 6 codes above.
One or two of you might have noticed this code in use as the latest pair prices scroll a long the main web page.
To be continue........
-
The Following User Says Thank You to ilearn2t For This Useful Post:
-
Add the iframe code to link another site to view inside your own.
<iframe frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="728" height="90" src="link to other site"></iframe>
To be continue........
-
-
Using an Image as a Link
<a href="YOUR SITE LINK HERE"target="_blank"> <img src="YOUR IMAGE LINK HERE" width="200" height="200"></a>
You'll notice a part of the code "target="_blank" this will open the linked website in another window tab, keeping your webpage open on the window, most websites don't use this easy code and by the time others click different links within the other site, your site is gone.
To be continue........
-
The Following User Says Thank You to ilearn2t For This Useful Post:
-
I just put this website together changing all links to comply with forum rules
http://forex4newbies.forumotion.co.uk/h5-fxopen
I've added most of the codes above, because WC3 don't pass marquee codes I didn't add any, but I'll show you a trick to get around it, soon.
Don't forget to check the date & time in the title bar.
If you need help making your own website, simply reply below.
Good luck
ilearn2t
To be continue........
-
The Following User Says Thank You to ilearn2t For This Useful Post:
-
Watch for the "wee bear" while changing the back ground colour.
http://forex4newbies.forumotion.co.uk/h7-fxopen1
Simply by hiding a page within the page the W3C still gives it 100% pass.
Good luck
ilearn2t
-
The Following User Says Thank You to ilearn2t For This Useful Post:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
| |
Calendar |
 |
|
| We Buy | We Sell |
| $1.3964 | $1.4396 |
|