Thanks for reaching out. I am afraid, we don't have an option to export HTML & CSS available in XD, however, let me assure you, I'll share your feedback with the Engineering team and you can do that by either voting for this request or posting a new request.