HELLO
<script>
function innerhtml()
{
document.getElementById('div1').innerHTML="SMITH"
}
</script>
<body>
<div id='div1' style="color:red;font-face:30;font-family:forte">
HELLO
</div>
<input type="button" value="check innerhtml" onclick="innerhtml()">
</body>
0 comments: