Make your own free website on Tripod.com








Luna
HTML-koder













Home | Om meg | Mari | Chinchillaene mine | Kaninene mine | Kontakt meg | Ringenes Herre | HTML-koder | Dyrebeskyttelse | Venner og bilder





diddl03.gif
















Try Try

HTMLkoder koder!

Her er det mange  HTML- koder som du kan bruke...bare kopier teksten å sett den inn der du vill ha det...

--------------------------------------------------------------------------------

Tilbake knapp:
<form>
<p><input type="button" value="<Tilbage!..." onClick="history.back();"></p>
</form>



--------------------------------------------------------------------------------

Her kan du sende en sms fra din hjemmeside(gratis):

<script src="http://www.1klik.dk/mobil/sms/advinclude.asp"></script>


--------------------------------------------------------------------------------

Denne koden vil få en link til at skifte farge, koden er:

<style type="text/css"><!--A:link { text-decoration: none; color: red;}
A:visited { text-decoration: none; color: red;}
A:active { text-decoration: none; color: red;}
A:hover { text-decoration: overline underline; color: red;}//--></style>



--------------------------------------------------------------------------------

knap som starter print:

<form>
<p><input type="button" value="Print" Onclick="print()" ;> </p>
</form>


--------------------------------------------------------------------------------

Nå kan du få en rullende tekst nede i skjermen!:
<SCRIPT LANGUAGE="JavaScript">

function infoscroll(seed,looped)
{
var text1 = " ";
var text2 = " Hejsa og velkommen til min seje hjemmeside!";
var msg=text1+text2;
var putout = " ";
var c = 1;

if (looped > 10)
{ window.status="<TAAAAK fo forhånd>"; }
else if (seed > 100)
{
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0)
{
for (c=0 ; c < seed ; c++)
{ putout+=" "; }
putout+=msg.substring(0,100-seed);
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
window.status=putout;
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0)
{
if (-seed < msg.length)
{
putout+=msg.substring(-seed,msg.length);
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
window.status=putout;
timerTwo=window.setTimeout(cmd,100); // 100
}
else
{
window.status=" ";
looped += 1;
var cmd = "infoscroll(100," + looped + ")";
timerTwo=window.setTimeout(cmd,75); // 75
}
}
}
// -->

<!--
infoscroll(100,1)
// -->

</SCRIPT>



--------------------------------------------------------------------------------

Denne html koden gjør at man skal trykke ok for at komme inn på din hjemmeside:

Skift ,, Click ok to go to Java city 2000 main page´´ ud med hvad du nu har lyst til!
<script>
function linkfunction1()
{


if(confirm("Click OK To Go To Java City 2000 Main Page."))
if (navigator.appName == "Netscape") {
location.replace("index.html")
}else{
window.location.href = "index.html"
}
else
window.location.href = "J_Betalert.html";

}
</script>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080">
<a href="index.html"name="Button"
onclick="linkfunction1();return false;">Click!!!</a>


----------------------------------------------------------------------------

Denne html kode gjuør at du får en kul overskrift:

</font></td></tr>
<tr><td><font face="verdana" size="3">
<b><center><font size="42"><TABLE
STYLE="filter:glow(color= cyan,
strength=5)">*Velkommen til vores seje Hp!*</TABLE></font></center><b>
</font></td></tr>
<tr><td><font face="verdana" size="3">
<br> <br>
</font></td></tr>
<tr><td><font face="verdana" size="3">
<br> <br> <br>
</font></td></tr>
<tr><td><font face="verdana" size="3">
<script language="JavaScript1.2">
<!--/*
HH
*/
curPage=1;
file://by H
document.oncontextmenu = function(){return false}
file://enr
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else { document.onmousedown = function(){return file://ik
false}
}
-->
</script>



--------------------------------------------------------------------------------

En kul overskrift

</font></td></tr>
<tr><td><font face="verdana" size="3">
<b><center><font size="42"><TABLE
STYLE="filter:glow(color= cyan,
strength=5)">Skriv din tekst her</TABLE></font></center><b>
</font></td></tr>
<tr><td><font face="verdana" size="3">
<br> <br>
</font></td></tr>
<tr><td><font face="verdana" size="3">
<br> <br> <br>
</font></td></tr>
<tr><td><font face="verdana" size="3">
<script language="JavaScript1.2">
<!--/*
HH
*/
curPage=1;
file://by H
document.oncontextmenu = function(){return false}
file://enr
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else { document.onmousedown = function(){return file://ik
false}
}
-->
</script>


--------------------------------------------------------------------------------



Nedtelling:

<script language="JavaScript">
<!--
idag = new Date();
dato = new Date("1/1/2010");
dag = (24 * 60 * 60 * 1000);
dage = ((dato.getTime() - idag.getTime()) / dag);
dage = Math.round(dage);
document.write("Der er " + dage + " dage til d. 1 Januar 2010.")
//-->
</script>????



--------------------------------------------------------------------------------

Nu kan du få en teller der dur:
<img src="http://tools.subnet.dk/counter.exe?style=1&width=4">




--------------------------------------------------------------------------------

Her kan du få to linjer over menuen når man holder musen over:

<style type="text/css">
<!--
A:link { text-decoration: none; color: cyan;}
A:visited { text-decoration: none; color: cyan;}
A:active { text-decoration: none; color: red;}
A:hover { text-decoration: overline underline; color: red;}
//-->
</style>




--------------------------------------------------------------------------------

Denne HTML kode gjør sånn, at bakgrunden står stille:

<body background="baggrundsbillede.jpg/gif" bgproperties="fixed">



--------------------------------------------------------------------------------

Et ur så man kan se klokken:

<BODY><BR> <CENTER><FORM NAME="Tick"> <INPUT TYPE="text" SIZE="11" NAME="Clock"> </FORM></CENTER> <SCRIPT> function show( ){ var Digital=new Date( ) var hours=Digital.getHours( ) var minutes=Digital.getMinutes( ) var seconds=Digital.getSeconds( ) var dn="AM" if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds document.Tick.Clock.value=hours+":"+minutes+":" +seconds+" "+dn setTimeout("show( )",1000) } show( ) //--> </SCRIPT>


--------------------------------------------------------------------------------

Auto update: så behøver du ikke selv skrive når siden sist ble oppdateret. Det vil skje automatisk:

<head>
<body bgcolor="#008000" text="#FFFF00" background="zertxtr.gif">

<p align="center"><font size="2" face="Verdana"></font></p>
<p align="center"><font size="2" face="Verdana"><script language="JavaScript">

var theDate = document.lastModified
document.write("Last opdate: ");
document.write(theDate);
document.write();
</script>




--------------------------------------------------------------------------------

Denne html kode gjør at ingen kan stjele fra din hjemmeside:

<script language="javascript">

function click()
{
if (event.button==2)
{
alert('Thi der står skrevet: Du må ikke stjæle!')

}
}
document.onmousedown=click
</script>



--------------------------------------------------------------------------------

Denne html kode gør at du kan sende en beskjed uten at bruke e-mail eller gb:

form method="post" action="http://tools.subnet.dk/formmail.pl">
<input type="hidden" name="recipient" value="DIN MAIL ADRESSE
-DIN HJEMMESIDES ADRESSE">
<input type="hidden" name="redirect" value="http://www.dit-hjemmeside-navn.subnet.dk">
<input type="text" name="ditnavn" value="navn">
<input type="text" name="hilsen" value="hilsen">
<input type="submit" name="Submit" value="Submit">
</form>


--------------------------------------------------------------------------------

Denne kode får ens links til at utvide seg når man tar musen over:

<style fprolloverstyle>A:hover {color: #C800C8; text-transform: capitalize; letter-spacing: 1pt; font-weight: bold} </style>



--------------------------------------------------------------------------------

Stjerner som flyr rundt på siden(kjempe søtt):

<script src='http://my.netian.com/~papajun/jv/star1.js'
language=javascript></script>




--------------------------------------------------------------------------------

Viser et lite vindu av en annen hjemmeside:

<html>
<body>
<iframe src ="http://her skriver du adressen" width=450 height=120 frameborder="0">
</iframe>
</body>
</html>



--------------------------------------------------------------------------------

få din side som startside:

<!--[if IE]>
<a HREF onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://skriv din hjemmeside adresse her'.);"><img src="house.gif"> Skriv din tekst her</a>
<![endif]-->


--------------------------------------------------------------------------------


En kul scroll bar(hvit og svart):
<style><!--body {scrollbar-face-color:white;
scrollbar-shadow-color:0099FF;scrollbar-highlight-color:0099FF;scrollbar-3dlight-color:white;scrollbar-darkshadow-color:white;scrollbar-track-color:white;
scrollbar-arrow-color: 0099FF;}--></center></style> Try


--------------------------------------------------------------------------------

Ennå en kul scroll bar(svart og orange):
<style>
BODY { scrollbar-3d-light-color:#000000;
scrollbar-arrow-color:#FF0000;
scrollbar-base-color:black;
scrollbar-dark-shadow-color:#444444;
scrollbar-face-color:#444444;
scrollbar-highlight-color:#ff0000;
scrollbar-shadow-color:black}
</style> Try


--------------------------------------------------------------------------------

Tykk skrift når musen kommer over linket:
<style fprolloverstyle>A:hover {color: #C800C8; text-transform: capitalize; letter-spacing: 1pt; font-weight: bold} </style> Try




--------------------------------------------------------------------------------

Up-date .... skriver når der sidst er blevet opdateret:
<head>
<body bgcolor="#008000" text="#FFFF00" background="zertxtr.gif">

<p align="center"><font size="2" face="Verdana"></font></p>
<p align="center"><font size="2" face="Verdana"><script language="JavaScript">

var theDate = document.lastModified
document.write("Last opdate: ");
document.write(theDate);
document.write();
</script> Try




--------------------------------------------------------------------------------

Boks hvor du kan skrive text i:
<center><textarea ROWS=7 COLS=20
style="background:COLOR"
style="font-family:FONT"
style="color:dodgerblue"
style="border style:solid">
TEXT
</textarea></textarea> Try




--------------------------------------------------------------------------------

Tekst etter musen:
<style>
.spanstyle {
position:absolute;
visibility:visible;
top:-50px;
font-size:10pt;
font-family:comic sans ms;
font-weight:bold;
color:black;
}
</style>
<script>

/*


--------------------------------------------------------------------------------

Ramme:
<center><script language="JavaScript1.2">(document.all)
document.body.style.cssText="border:3 solid #0099FF"
</script> Try


--------------------------------------------------------------------------------

En kode så dine link ruller over skærmen
<HTML><marquee>
<b><a href= "din link">beskrivelse
<b><a href= "din link">beskrivelse
<b><a href= "din link">beskrivelse
<m...




--------------------------------------------------------------------------------

Denne html-kode fjerner understregningen fra dine links:
<HEAD>

<STYLE>
A {TEXT-DECORATION:none}
</STYLE>




--------------------------------------------------------------------------------

Rullende tekst
<marquee> din tekst




--------------------------------------------------------------------------------

Mobilnr: Tegn:
Fra:
Besked:


Send en SMS:
<script LANGUAGE='javascript1.2'> function antaltegntilbage() { document.SMS.num.value = 160 - document.SMS.fra.value.length - document.SMS.besked.value.length; } </script><form name='SMS' action='http://www.jdsoft.dk/sms-bruger-system.asp' method='get'><center><table border='0'><tr><td width='60'><font color='0' size='2' face='Arial'>Mobilnr:</font></td><td><fontcolor='0' size='1' face='Arial'><input type='text' size='8' maxlength='8' name='modtager'> <font color='0' size='2'face='Arial'>Tegn: <input type='text' name='num' value='160' size='3'></font></td></tr><tr><td><font color='0' size='2'face='Arial'>Fra:</font></td><td><font color='0' size='1' face='Arial'><input type='text' size='28' name='fra' onkeypress='antaltegntilbage()' onchange='antaltegntilbage()' onkeyup='antaltegntilbage()'></font></td></tr><tr><td><font color='0'size='2' face='Arial'>Besked:</font></td><td><font color='0' size='1' face='Arial'><input type='text' size='28' name='besked' onkeypress='antaltegntilbage()' onchange='antaltegntilbage()' onkeyup='antaltegntilbage()'></font></td></tr><tr><td></td><td><font color='0' size='1' face='Arial'><input type='submit' value='Send SMS'></td></tr></table></form>




--------------------------------------------------------------------------------

Få en jubii søgeboks:
<FORM METHOD="GET" ACTION="http://soeg.jubii.dk/res.asp"><INPUT TYPE="hidden" NAME="startnummer" VALUE="1"><TABLE WIDTH="320" BORDER="2" CELLSPACING="0" CELLPADDING="0" BGCOLOR="#CCCCFF" BORDERCOLOR="#CCCCFF" BORDERCOLORLIGHT="#E3E4FF" BORDERCOLORDARK="#002184"><TR><TD VALIGN="MIDDLE" ALIGN="CENTER"><TABLE WIDTH="100%" BORDER="0"><TR><TD ALIGN="CENTER" VALIGN="BOTTOM"><A HREF="http://www.jubii.dk/"><IMG SRC="http://www.jubii.dk/images/logo2.gif" WIDTH=88 HEIGHT=35 BORDER=0 ALT="Jubii logo" ALIGN="BOTTOM"></A></TD><TD ALIGN="CENTER" VALIGN="BOTTOM"><FONT FACE="Arial,Helvetica" SIZE="1"><B>INDTAST SØGEORD</B><BR></FONT><input size=19 name="soegeord"></TD><TD VALIGN="BOTTOM"><INPUT TYPE="Submit" VALUE="Søg"><input NAME="service" VALUE="jubii" TYPE="hidden"><input NAME="antalresultater" TYPE="hidden" value="20"></TD></TR></TABLE></TD></TR></TABLE></FORM


--------------------------------------------------------------------------------

Hvad er dit navn - pop up vindue der kommer når noen besøker din hp:
</html><p align="center"><font size="2" face="Verdana">DawZ</font></p>
<p align="center"><SCRIPT LANGUAGE="JavaScript"> <!-- Hide from old browsers
var p_m=prompt("HejZa.. Hvad hedder du?")
if (p_m == " || p_m == null) { p_m="Intetnavn" };// end hiding --></SCRIPT>
<p align="center"><font size="2" face="Verdana"></font>
<p align="center"><font size="2" face="Verdana"><SCRIPT LANGUAGE="JavaScript"> <!-- Hide from old browsers
document.write(p_m)// end hiding --></SCRIPT>


--------------------------------------------------------------------------------

Denne kode gør at du kan skrive ting i en liten boks:
<INPUT TYPE="button"
VALUE="TEXT HERE"
onClick='alert("TEXT")'></FORM>


--------------------------------------------------------------------------------

Jaaaa, nu kan man jo også spille spill koden er:
<script src="http://www.playershand.com/remote/Dansk/large.js"></script>



--------------------------------------------------------------------------------

send brukeren videre efter x antal sekunder:
HEAD><meta http-equiv="Refresh" content="10; URL=http://www.afunnysite.subnet.dk"></HEAD>



--------------------------------------------------------------------------------

Ja denne gør så der kommer en lille boks op når man åpner din hjemmeside hvor der står noe i
</font></td></tr>
<tr><td><font face="verdana" size="3">
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide the JavaScript from older browsers
(window.alert("Halløj"))
// End hiding of script -->



--------------------------------------------------------------------------------

Denne html kode gjør at din hjemmeside spiller musikk!

Skift "Midi url" ut med adressen til midi filen din hjemmeside skal spille!
<BGSOUND SRC="MIDI URL" AUTOSTART="true"
HIDDEN="true" LOOP="infinite">



--------------------------------------------------------------------------------


Denne html kode gør at når man klikker på knappen kommer der en text box op.

Skriv hvad der skal stå i textboxen der hvor der står ,,Text here´´
<INPUT TYPE="button"
VALUE="TEXT HERE"
onClick='alert("TEXT")'></FORM>



--------------------------------------------------------------------------------

Denne html gør at der ruller en text hen over skærmen, skriv hvad der skal stå ved: skriv her!
<maquee> DIN TEKST HER



--------------------------------------------------------------------------------

En kode så baggrunden skifter farve!

<html>

<head>
<title>JavaScript Skift Baggrund</title>
</head>
<script Language="JavaScript">
function Skiftfarve(Farve) {
if (Farve == "Sort")
document.bgColor="#000000";
if (Farve == "Grå")
document.bgColor="#808080";
if (Farve == "Grå2")
document.bgColor="C0C0C0";
if (Farve == "Hvid")
document.bgColor="FFFFFF";

}

</script>


<body TEXT="#000000" BGCOLOR="#FFFFFF">

<form>
<div align="left">
<p>
<input Type="button" Name="Knap" Value="Sort baggrund" onClick="Skiftfarve("Sort")">
<input Type="Button" Name="Knap" Value="Grå baggrund" onClick="Skiftfarve("Grå")">
<input Type="Button" Name="Knap" Value="Lysegrå baggrund" onClick="Skiftfarve("Grå2")">
<input Type="Button" Name="Knap" Value="Hvid baggrund" onClick="Skiftfarve("Hvid")">
</p>
</div>
</form>
</body>
</html>