despite, not *despite of
despite + -ing
despite the fact that
in spite of, not *inspite of
in spite of has the same meaning as despite.
in spite of something
in spite of + -ing
in spite of the fact that
Note, despite is preferred in written English. The reason being, its origin:
spite comes from the word despite. It's a shortened form.
in despite of became in spite of.