Contoh Java Membalikan paragraf
<!DOCTYPE html>
<html>
<head>
<script>
function myFunction() {
document.getElementById("demo").innerHTML = "kesini";
}
</script>
</head>
<body>
<h1>JavaScript</h1>
<p> C C I </p>
<p id="demo"><i>dari sini</i></p>
<button type="button" onclick="myFunction()">Klik ini</button>
</body>
</html>
Tuesday, February 10, 2015
Subscribe to:
Post Comments (Atom)