Hans Wurst: Online Quellcode in HTML umwandeln?!

Beitrag lesen

Danke schonmal im Vorraus für die hoffentlich hilfreichen Antworten! ;)

  
<html>  
 <head></head>  
 <body>  
  <form action="" target="" method="">  
   <center>  
    <textarea style="width:500px; height:200px;" id="usrEingabe">  
     Das ist nur ein test, <br /> nur ein Test <span style='color:red'>nur ein test</span><br />  
    </textarea>  
    <input type="button" name="vorschau" value="VORSCHAU" onclick="document.getElementById('vorschau_HTML').innerHTML=document.forms[0].usrEingabe.value;" />  
    <br /><br /><br />  
    <div id="vorschau_HTML"></div>  
   </center>  
  </form>  
 </body>  
</html>