NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

GÖSTER GİZLE

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Başlıksız Belge</title>
<script type="text/javascript">
function a() {
document.getElementById('c').innerHTML="ayhan";
}
function b() {
document.getElementById('c').innerHTML='';
}
</script>
</head>
<body>
<input type="button" value="Göster" onClick="a()" />
<input type="button" value="Gizle" onClick="b()" />
<br />

<div id="c">
</div>



</body>
</html>



on reset ::





<!DOCTYPE html>
<html>
<head>
<script>
function message()
{
alert("Form temizlenecek...");
}
</script>
</head>

<body>

<form onReset="message()">
Enter your name: <input type="text" size="20">
<input type="reset">
</select>
</form>

</body>
</html>

------------------------------------
ONBLUR :::



<!DOCTYPE html>
<html>
<head>
<script>
function buyuk()
{
document.getElementById("fname").value=document.getElementById("fname").value.toUpperCase();
}
function kucuk()
{
document.getElementById("fname").value=document.getElementById("fname").value.toLowerCase();
}
</script>
</head>
<body>

Ad: <input type="text" id="fname" onBlur="buyuk()" onFocus="kucuk()">



</body>
</html>
-------------------------------

onsubmit :::::

<!DOCTYPE html>
<html>
<head>
<script>
function a()
{
ad=document.forms[0].ad.value;
alert("Merhaba " + ad+ "! Meb sayfasına yönlendiriliyorsunuz...");
}
</script>
</head>

<body>
<form onSubmit="a()" action="http://www.meb.gov.tr/">
Enter your name: <input id="ad" type="text" size="20">
<input type="submit">
</form>
</body>

</html>


onmousemove_out :

<!DOCTYPE html>
<html>
<head>
<script>
function bak(e)
{
x=e.clientX;
y=e.clientY;
coor="Koordinatlar : (" + x + "," + y + ")";
document.getElementById("yaz").innerHTML=coor
}
function sil()
{document.getElementById("yaz").innerHTML="";}
</script>
</head>
<body style="margin:0px;">

<div id="divim" style="width:199px;height:99px;border:1px solid" onMouseMove="bak(event)" onMouseOut="sil()"></div>

<p>Yukarıdaki dikdörtgen fare üzerinde ve fare işaretçisi koordinatlarını olsun.</p>
<p id="yaz"></p>
</body>
</html>


onfocus::


<!DOCTYPE html>
<html>
<head>
<script>
function sari(x)
{
x.style.background="yellow";

}function kirmizi(x)
{
x.style.background="red";
}
</script>
</head>
<body>
AD: <input type="text" onFocus="sari(body)" onBlur="kirmizi(this)" >
SOYAD: <input type="text" onFocus="sari(this)">
YAŞ: <input type="text" onBlur="kirmizi(this)" >
OKUL: <input type="text" >
</body>
</html>

kaç kere isim girilsin :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>başlıksız belge</title>
<script>
function yazdir(ad,tekrar)
{
for (var i=0;i<tekrar;i++)
{
document.write(ad+"<br>");
}
};
var isim=prompt("isminizi yazınız");
var sayi=prompt("tekrar sayısını giriniz");
yazdir(isim , sayi);

</script>
</head>

<body>
</body>
</html>


mevsim ::::

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Başlıksız Belge</title>
<script type="text/javascript">
var mevsim
mevsim=prompt("mevsim girin","")
switch(mevsim)
{
case"kış":
document.write("aralık,ocak,şubat");
break;
case"ilkbahar":
document.write("nisan,mayıs");
break;
case"yaz":
document.write("Haziran,Temmuz");
break;
}
</script>
</head>

<body>
</body>
</html>

push :::

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Başlıksız Belge</title>


<script language="javascript" type="text/javascript">
var sayilar = new Array ("1","2","3","4");
sayilar.push("5");
sayilar.push("6");
alert(sayilar)
</script>
</head>

<body>
</body>
</html>

while otobüs :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Başlıksız Belge</title>
<script language="javascript" type="text/javascript">
var otobuskapasite=Number(prompt("Otobus yolcu kapasitesi"));
var yolcu=0;
var otobus=0;
var toplamkisi=Number(prompt("toplam yolcu sayısı"));
while(yolcu<toplamkisi)
{
yolcu=yolcu+otobuskapasite;
otobus++;
}
document.write("otobus sayısı:"+otobus+"<br>");
document.write("odenecek tutarı:"+otobus*125+"TL dir");
</script>
</head>

<body>
</body>
</html>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.