If the original poster is still with us there is a helpful thread in the ePub forum stickies at
https://www.mobileread.com/forums/showthread.php?t=43230
I worked through the suggestions when I started learning, and found some others. One of the things I found helpful was to take well formed ePubs apart to see how others did it.