<html>
<body>
<script language="JavaScript"> function function1() {
document.all.myP.normalize();
alert("The second paragraph has been normalized");
}
</script>
<p>First paragraph.</p>
<p id="myP">Second paragraph.</p>
<input id="myB"
type="button"
value="Normalize second paragraph"
onclick="function1();">