Just getting started with HTML, so please let me know if you need more explanation or if this question is unclear.
I'm working on a web form layout using div elements, but I've found that using   to move text within the div doesn't always give me the desired result in terms of page layout.
Through some trial and error, I discovered that by using:
<span style="margin-left:(variable)px"></span>
I can position the text exactly where I want it.
My question is - is this considered bad practice? Is there a better or more conventional way to achieve what I'm trying to do? Or perhaps a feature in HTML that I haven't come across yet?
Thank you!
* Added block of code to demonstrate my goal
Complainant's Address
<input type="text" size="50" id="complainantAddress"/>
<span style="margin-left:3px"></span>
City
<input type="text" name="city" maxlength="15" size="15"/>
<span style="margin-left:16px"></span>
State
</div>