Select Export to HTML or RTF command in the Block menu to export the selected portion of the file you are editing into another file just like Block|Write does. But the file filter on the export dialog only lets you choose between HTML and RTF. It converts the selection from plain text to HTML or RTF. It preserves the appearance of the selected text in EditPad as much as possible. You will see the text with EditPad’s syntax coloring when you open the exported file in a web browser or a word processor.
File menu
File|Export to HTML or RTF
Edit|Copy as HTML
Edit|Copy as RTF