Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
<p> is a block element (like <br>, <div>, <ul>, <li>, <table>, <h[1|6]>), thus, it adds a carriage return on the element flow.
<span> is an inline element (like <a>) and it won't add that carriage return.
__________________
Only a biker knows why a dog sticks his head out the window.
|