Any way to keep html in tact?

Hi
Im opening an existing word doc and inserting some html, when i then export to html my inserted html has been changed (in this case my div has become a span and lost all styling), is it possible to insert some html and have it come out the other end the same as it went in?
Thanks

Hi
Thanks for your inquiry. No, I think that this is impossible. The main thing is that Aspose.Words HTML import and export does not guarantee full data roundtrip. Also there are several HTML features that are unsupported yet. See the following document for more information.
https://docs.aspose.com/words/net/supported-document-formats/
Best regards.

Hi
Thanks for your inquiry. No, I think that this is impossible. The main thing is that Aspose.Words HTML import and export does not guarantee full data roundtrip. Also there are several HTML features that are unsupported yet. See the following document for more information.
https://docs.aspose.com/words/net/supported-document-formats/
Best regards.

Yes, Aspose.Words is “Microsoft Word documents - oriented” tool, not “HTML - oriented”. This means Aspose.Words tries to faithfully preserve content of DOC, DOCX, RTF and WordML files. All other formats are supported “within design constraints” as much as they can be represented by Microsoft Word - like elements and attributes inside Aspose.Words document object.