<html> <body> <p id="par">Text <b>Text </b>Text <u>Text </u>.</p> <button id="myButton" onclick="function1();">Make Text Above Plain</button> <script language="javascript"> function function1(){ document.all.par.outerText = "Text Text Text." myButton.disabled = true; } </script> </body> </html>