Código para probar los códigos html
<script>
function
interpretar(valor) {
interprete =
window.open('', 'Interprete de Codigo', '');
interprete.document.write(valor);
}
</script>
<textarea id="contenedor"
cols="40" rows="8"></textarea><br>
<button
onclick="interpretar(document.getElementById('contenedor').value)"
>Visualisar</button>
No hay comentarios:
Publicar un comentario