比如类似
http://www.makems.com/myspace-html-preview/index.html
貌似是个php脚本,把提交的form返回。
提交代码 就可以查看效果,最好是本地运行的 浏览器查件也行。。
小一点 快一点 。。
存文件再load太累了
编造了2个php
index.php(html也可以)
<html>
<body><form action="preview.php" method="post">
<p align="center"><b>Your Code</b><br />
<textarea cols="60" rows="25" name="htmlCode"></textarea></p><p align="center"><input type="submit" value="Preview"></p>
</form></body>
</html>
preview.php
<?php echo $_POST["htmlCode"]; ?>