Thanks for writing in! By default, elements has it's own default margins and paddings. This can constitute spacing around the elements. If you want to eliminate the default settings, you can make use of the built in utility spacing classes instead. Based from your screenshot, you would have to code the element with something like this:
<h2 class="mtn">Create a Content Plan</h2>
mtn means "margin top none". You can have mtn, mln, mrn, mbn, man, mas, mam, mal, and so on. For more details about element spacing, please check out this knowledge base: https://theme.co/apex/forum/t/customizations-element-spacing/211
Hope this helps.