We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Add div tag when exporting WORD to HTML

Hello I’am converting Microsoft Word files to HTML and would like to add a id attribute to each and every element id - HTML: HyperText Markup Language | MDN (mozilla.org) How is this possible.

@harshvardhan.scindia Unfortunately, there is no option in Aspose.Words to add id attribute to all HTML elements in the produced HTML document. You can add the attributes later by postprocessing the output HTML file. For example, you can read HTML as XML and add id attributes.