I wopuld like to know if putting inline elements directly in Divs is bad practice or not? Or should I prefer:

HTML Code:
<div id="test"><p>text comes here</p></div>
Wait a minute... why not just make:

HTML Code:
<p id="test">text comes here</p>

Is this last line of code bad practice if the <p is floated left or right? (I mean, should floats only be applied on divs and so on? and never on <p>s?)