
Java
<html>
<head>

JavaScript
function changeText()
{
document.getElementById("changeText").innerHTML = "I am fine thank you. How about you?"
}
</script>
</head>
<body>
<div id="changeText">
Hello! How are you?
</div>
<input type="button" value="Change Text" id="button_1" onclick="changeText()" />
</body>
</html>
Copyright © 2026 eLLeNow.com All Rights Reserved.