Copy as HTML command (Edit menu)

EditPlus

Copy as HTML command (Edit menu)
Use this command to copy the selection to the clipboard as HTML text. If the current document has an associated syntax file, this command preserves the syntax highlighting in the HTML code.