Posted by tzuchia16 on 10/24/06 15:14
Hello,
I'd like anyone's thoughts on which of the following would be the
correct manner of coding for XHTML.
<p></p>
<p> </p>
<p />
<p class="spacer"></p>
<p class="spacer"> </p>
<p class="spacer" />
....and I've the same question for DIV...
<div></div>
<div> </div>
<div />
<div class="spacer"></div>
<div class="spacer"> </div>
<div class="spacer" />
I've seen it done with the variations above. Just curious as to which
is the proper method. Oh, and my goal with divs would be just to space
between items (I've noticed that it's a bit smaller than the Paragraph
tag).
Thanks in advance.
Tee
[Back to original message]
|