Tuesday, February 10, 2015

Java Membalik Paragraf

,
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> 

0 comments to “Java Membalik Paragraf”

Post a Comment