La domanda è : come salvare codice html in un file txt.
Mi sembra di avere dato una risposta facile da capire e semplice.