Your question is a bit vague, but remember that "gaps" etc. are a visual thing, and thus are a job for CSS, not HTML.
In your HTML, just place two labels. E.g.
<label for="name">Your Name</label>
<label for="email">Your Email</label>
By default, they will sit side by side; and if you want a gap between them, you could give the first a right margin.