Re: Use <br/ > instead of <br>

by timbooker(at)btinternet.com

 Date:  Tue, 23 May 2000 11:57:35 +0100
 To:  Adrian Harris <adrian(at)gn.apc.org>
 Cc:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
It means exactly what it says: use <br /> instead of <br>.  The forward slash
indicates that there is no ending </br> tag.  You should use this syntax for
all elements that do not need an ending tag, eg:

<img src="" />
<link href="" />
<input type="" />

etc...

Tim



>Hi,
>the information in the latest Newsletter on making HTML code XML compatible

>is excellent, but I have one query:
>It says:
>
>Use <br/ > instead of <br>
>
>Does this mean exactly what is says? Or is it shorthand to mean:
>Use <br> </br> instead of <br>?
>
>Thanks!
>
>
>
>
>Best wishes,
>Adrian Harris.
>
>http://www.gn.apc.org/design
>
>



>>>>>>>>>>>>>>>>>>>>> http://www.timbooker.co.uk

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA