Reply to Why use a /> at the end of a statement?

Your name:

Reply:


Posted by Mike Barnard on 03/03/07 17:36

Hi.

I have been examining the code of a site and often, not always, there
is a slash before the end of a statement.

<br class="clear" />

<img src="images/icon_burdick.gif" width="81" height="30"
alt="Burdick" />

<br /><br />

<img src="images/title_latestnews.gif" width="253" height="55"
alt="Latest News" />

Why is it needed, if it is needed, and what is it good for? I
understand </p> </h1> etc but why a /> alone?

I'm sure it'll be obvious when its pointed out to me! Thanks.

[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

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