There is documentation on valid HTML for Mobipocket files at:
http://www.mobipocket.com/dev/articl...TagRef_OEB.htm.
If you are creating Mobipocket files from HTML source, stick to simple, old-fashioned HTML (no css), and you will mostly be fine. There are a couple of Mobipocket-specific tags you can use for page breaks, etc, though.