How to convert HTML to DOCX and include css/js?

What is the right way to do this ? Should I just append all the files into one file ?

@punkouter2,

Aspose.Words currently does not deal with JavaScript and no JavaScript is read or written during open and save.

Secondly, Aspose.Words supports all types (i.e. Inline, Internal and External) of CSS during loading a HTML file. For example, please try running the following code:

Document doc = new Document(MyDir + @"HTMLPage1.html");
doc.Save(MyDir + @"18.3.docx");

Sample input and output documents: CSS-Test.zip (5.1 KB)