Beranda > Newbie, Web > Mari Belajar Javascript buat pemula…

Mari Belajar Javascript buat pemula…


Javascript?? Buat yg baru belajar(kyk gue), nih ada kode2 dasar javascript dan html yg mungkin bsa bantu kalian. Copy paste aje deh, moga brmanfaat.

HTML clipboard

Text tebal
<b>tebal</b>

Text miring
<i>miring</i>

Text warna
<font color=red>warna</font>

Text besar
<big>besar</big>

Text kecil
<small>kecil</small>

Jenis huruf georgia
<font face:georgia>georgia</font>

Spasi text
<pre>spasi</pre>atau gunakan <br/>

Garis berwarna
<hr color=red></hr>

Body Tags
<body alink=”red”valink=”maroon”link=”Blue”text=”white”bgcolor=”white”background=tittle.jpg>

Text to link
<a href=”http://…”>text</a&gt;

Link dengan gambar
<a href=”http://…Url target”><img src=”http://looperz11.xtgem.com/My data 4 t site/Pictures/Jomlo keren_p.jpg” alt=”Deddy SM” style=”border: 0px;” />nama link</a>

Script Back unik tnp url
<a href=”javascript:history.back(1)”>Back</a>

Javascript Forward unik tnp url
<a href=”javascript:history.forward(1)”>Forward</a>

Icon page
<link rel=”shortcut icon” href=”http://looperz11.xtgem.com/My data 4 t site/Pictures/Jomlo keren_p.jpg”>

Script buat button
<form action=”http://…Alamat kamu “method=”post”><input type=”submit”value=”text kamu”></form></script><br/>

Jam pelangi cantik
<script language=”javascript”src=”http://jsmaster.adhi3.com/b_jam_wita_pelangi.js”></script&gt;

UNIK! Script bikin polling, lucu banget!
<form method=”post” action=”http://Looperz.freepoll.mobi”><font color=red><b>Bom bunuh diri terorist, JÌHADKAH???</b></font><br /><div style=”text-align:left;padding:2px”><font color=yellow><input type=”radio” name=”answer” value=”1″ /> Jìhad, fi sabilillah banget!!<br /><input type=”radio” name=”answer” value=”2″ /> Jihad, keji dan jahad<br /><input type=”radio” name=”answer” value=”3″ /> Gak tau tuh!! Emang udah pst masuk surga ya??<br /><input type=”radio” name=”answer” value=”4″ /> Tanyain aja keluarga korban!<br /><input type=”radio” name=”answer” value=”5″ /> Salah satu alasan jihad kan mempertahankan diri, jihad lil nafsi, LHA INI?!!<br /><input type=”radio” name=”answer” value=”6″ /> Ntar dulu, mau nanya Kyai!<br /><input name=”check” value=”1″ type=”hidden”><input value=”Vote” type=”submit” /><br /><a href=”http://Looperz.freepoll.mobi/?viewresult=1″>View results</a></form>

Script textarea utk copy paste
<textarea style=”text-align: left;” rows=”2″ cols=”18″><a href=”http://looperz11.xtgem.com”>Textbox copas</a></textarea>

Ngecilin gambar
<img src=”http://url yg ada gbrnya”alt=”…”name=”log” width=100 heigt=100 border=”2″>

Text alert welcome
<script language=”JavaScript”>alert(“Welcome to my site”)</script>

Text alert out
<body onUnLoad=”alert(Thanks ya udh berkunjung!);”>

Text alert dgn load
<body onLoad=”alert(Selamat menjelajahi situsku!);”>

Script source viewer
<html><body><div><div><div><div class=”t47″><font color=”lime”><center><form action=”http://lenivye.org.ru/skan/skan.php “method=”post”>source viewer<br>destination:<br/><!–h–><input type=”text” name=”adress” value=”http://ariefmaulana.wen.ru”><br/>&lt;!–h–><input type=”submit” value=”GO”></form><br><hr color=”yellow” size=”2″><p align=”left”><!–h–><form action=”http://proxy.wap4.org/index.php&#8221; method=”post”> user-agent modif: <br/><!–h–><input type=”text” name=”br” value=”nokia3315″ size=”12″><br/>destination<br/><!–h–><input type=”text” name=”session_new” value=”http://ariefmaulana.wen.ru&#8221; size=”12″><br/><br/><!–h–><input type=”Submit” value=”GO”></form></center></font></div></div></div></div></div></body></html>

Mp3 extrack
<html><body><!–h–><b><big><font color=”yellow”>Mp3s too large for your mobile? Simply type the mp3 url in box1 (use Url Finder below), type the bit-rate you desire in box2 and the length you want it to be in box3. Enjoy.</font></big></b><br/><form action=”http://kycb-kycb.org.ru/mp3.php&#8221; method=”post”><!–h–><input type=”hidden” name=”a” value=”imp”><!–h–><b><big><font color=”yellow”>Enter Mp3 Url :-</font></big></b><br/><!–h–><font color=#000066><input type=”text” name=”url” value=”http://alkimia.xtgem.com/MY/Musik”></font><br><b><big><font color=”yellow”>Enter required speed (eg 24) :-</font></big></b><br><font color=#000066><input type=”text” name=”n” format=”*N” value=”0″></font><br><b><big>Enter required size (eg 300) :-</big></b><br><!–h–><font color=#000066><input type=”text” name=”e” value=”100″></font><!–h–><br><!–h–><font color=red><input type=”submit”value=”Shorten Now”></font></form><!–h–><br/><b>* Mp3 Url <u>MUST</u> be valid</b><br/></body></html>

Online sms
<html><body><b><a href=”NO”>SMS TO US</font></a></b>font size=”1″><b></body></html>

Ucapan selamat yg berubah tiap waktu
<script language=”javascript” src=”http://s4tri4.net76.net/js/ucapan.js”></script&gt;

Tafsiran Quran,ajib.
<font color=”lime”><script language=”javascript” src=”http://montero.xtgem.com/ayat.js.php”></script></font&gt;

Ini jg random ayat Al-Quran lg, copy lg yak..! Biar jd ibadah
<script type=”text/javascript” src=http://www.mahesajenar.com/scripts/ayat.js?t=10></script>

Klo yg Ini Alquran pake gambar,,,
<img src=http://www.mahesajenar.com/scripts/ayatimg.php?c=35&text=000000&bg=ffffff&border=000000&sc=000088>

Jadwal shalat, mesti punya tuh
<font color=”lime”><script language=”javascript” src=”http://montero.xtgem.com/jadwal.js”></script></font&gt;

Script bwt unzip files
<html><body><b>You saw a GAME or mp3 for your phone but its in the .zip format? Here you can unzip it!</b><br/><!–h–><form action=”http://kycb-kycb.org.ru/zip/&#8221; method=”get”>.zip file URL: <input type= hidden name=a value=read><br><input type=”text” name=”url” value=”http://alkimia.xtgem.com”><br><input type=”submit” value=”Unzip!”></form><b>NOTE: You must be sure LINK IS NOT BROKEN. File must exist! Whatch for small and big letters!</b><br/></p><p align=”center”></body></html>

DOLLAR?? Mau doo…nx!!
<script language=javascript src=http://athenk.wen.ru/script/dollar.js></script>

Script bikin wolpeper dunlut
<form action=” http://wap.tranji.free.fr/logogen/img1.php? ” method=”get”><font color=”black”>Teks 1:</font><br/><input name=”text1″ maxlength=”30″ size=”15″ value=””/><br/><font color=”black”>Teks 2 :</font><br/><input name=”text2″ maxlength=”30 ” size=”15″ value=””/><br/><font color=”black”>Ukuran :</font><br/><input name=”fontsize” maxlength=”30″ size=”15″ value=”15″/><br/><input type=”submit” value=”Lihat hasil” /></form>

Katanya sih kata-kata lucu,buktiin aja dweh..
<script language=”javascript” src=”http://athenk.wen.ru/script/gokil.js”></script&gt;

Script bikin smileys, copas lg brot!
<html><body></p><p align=”center” style=”background-color:pink”><span style=”color: navy”>SMILEY CREATOR 2</span></font><br /></p><p align=”center”><img src=”http://alkimia.xtgem.com&#8221; alt=”” /><br /><!–h–><form action=”http://waplogomaker.com/make-free-logo/smiley/wap/make.php”><font>Teks 1 :</font><br /><input type=”text” name=”yaz1″ maxlength=”15″ value=”Welcome to”/><br /><font>Teks 2 :</font><br /><input type=”text” name=”yaz2″ maxlength=”15″ value=”http://alkimia.xtgem.com”/><br /><font>Teks 3 :</font><br /><input type=”text” name=”yaz3″ maxlength=”15″ value=””/><br /><font>Logo :</font><br /><select name=”resim” size=”5 “><option>Logo 1</option><option>Logo 2</option><option>Logo 3</option><option>Logo 4</option><option>Logo 5</option><option>Logo 6</option><option>Logo 7</option><option>Logo 8</option><option>Logo 9</option><option>Logo 10</option><option>Logo 11</option><option>Logo 12</option><option>Logo 13</option><option>Logo 14</option><option>Logo 15</option></select><br /><br /><font>Font :</font><br /><br /><select name=”fontumuz” size=”5″><option>Font 1</option><option>Font 2</option><option>Font 3</option><option>Font 4</option><option>Font 5</option><option>Font 6</option></select><br /><br /><input type=”submit” value=”Create”/></form><br /></p><p align=”center”></body></html>

Kategori:Newbie, Web
  1. Belum ada komentar.
  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: