<html>
<head>
<style type="text/css">
.shw {
font-weight: bold;
color: #FF0000;
}
</style>
<script language="javascript" type="text/javascript">
function cng() {
htm.innerHTML = "<font size='6'>" + ing.value;
}
setInterval(cng, 100);
</script>
</head>
<body>
<textarea name="ing" rows="10" cols="100">
Yo Mama Said What
</textarea>
<br />
<br />
<br />
<br />
<div id="htm" class="shw">
</div>
</body>
</html>
Hey guys, how would i modify this to allow the htm div to show html codes for eg, it would show
<font size='6'>Yo Mama Said What</font>
any ideas?