|
Posted by Mike Barnard on 03/04/07 11:00
On Sat, 03 Mar 2007 18:15:03 GMT, mbstevens
<NOXwebmasterx@xmbstevensx.com> wrote:
>> 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" />
>> Why is it needed, if it is needed, and what is it good for? I
>> understand </p> </h1> etc but why a /> alone?
>It is an XHTML thing. This part of this article should get you
>started understanding what's going on:
>http://www.w3.org/TR/xhtml1/#h-4.3
Thanks for this. As I said, obvious when understood! :)
Navigation:
[Reply to this message]
|