Reply to Paragraph and DIV usage in XHTML

Your name:

Reply:


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>&nbsp;</p>
<p />
<p class="spacer"></p>
<p class="spacer">&nbsp;</p>
<p class="spacer" />

....and I've the same question for DIV...

<div></div>
<div>&nbsp;</div>
<div />
<div class="spacer"></div>
<div class="spacer">&nbsp;</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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация