This question already has an answer here:
Is there a way to download an offline copy of the stackoverflow questions? I am hoping I can view it offline.
Thanks guys. I have found the cc-wiki-dump for stackoverflow.
But the post in the dump xml file looks like below. I don't know where the category tag is. For example, the category tag for this question is "support".
ADD 1 - 11:22 AM 11/9/2018
I made a StackExchangeArchiver, it can archive questions/answers of a specific user into a pure html offline page, including the images. It's made in a haste. But it can work. It's open-sourced here:https://github.com/smwikipedia/StackExchangeArchiver
I hope it can be helpful to other people.