Mohammad: you have yourself a very hard problem.
What version of InDesign are you using?
I would try using to take the Export for EPUB and Export for Dreamweaver (CS5; HTML in CS5.5) and seeing if those provide you with a sufficient starting point.
It is certainly technically possible to convert IDML into anything you want, but it will be extremely different.
The SDK has documentation for IDML, but it provides essentially no tools to help you transform the IDML into other formats. Most of the IDML examples are geared towards producing IDML, not consuming it.
Can you tell us more information about the intended destination of the HTML?
I am still not sure to use IDML export for my purpose becasue thats so difficult to parse,All i need is having a suitable export format to display in browser and support the text table,video and image,and i want to use html5 tag
also I use the CS5.5
Check out this blog post written by Adobe MAX Awards Digital Publishing series winner Johannes Henseler: