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

by "Phil Babcock" <pbabcock(at)bgsgroup.com>

 Date:  Tue, 23 May 2000 10:31:26 -0400
 To:  allred(at)its.state.ms.us,
"hwg-techniques(at)hwg.org" <hwg-techniques(at)hwg.org>,
owner-hwg-techniques(at)hwg.org
 References:  ms
  todo: View Thread, Original
What is the doctype for this type of markup? 


*********** REPLY SEPARATOR  ***********

allred(at)its.state.ms.us wrote:

>Sorry if this is a duplicate of a message I sent from another address.
>
>Adrian,
>
>The instruction is literal, but it is slightly different from what appears
>in your message. Use <br /> and be sure to include the space. This same
>thing applies to all so-called "empty" elements, like <hr>, which would
>become <hr />. Under XHTML and XML, this will not be allowed. The reason
is
>that, in order to create a "well formed" document, EVERY element will have
>to be terminated. Older versions of HTML have and do allow certain
elements
>to go unterminated, like <p>, <td>, and <li>, but these versions of HTML
>have no requirement for "well-formedness." As a matter of fact, you will
>generate errors in the user's browser for this oversight.
>
>For more see:
>http://www.w3.org/TR/xhtml1/#diffs
>
>Regards,
>----
>John Allred
>Information Technology Services
>mailto:allred(at)its.state.ms.us
>
>"Words differently arranged have a different meaning,
>and meanings differently arranged have different effects."
>    -- Blaise Pascal
>
>
>
                                
>                    Adrian Harris
                                
>                    <adrian(at)gn.apc.org        To:
hwg-techniques(at)hwg.org                               
>                    >                         cc:
                                
>                    Sent by:                  Subject:     Use <br/ >
instead of <br>                      
>                    owner-hwg-techniqu
                                
>                    es(at)hwg.org
                                
>
                                
>
                                
>                    05/23/2000 03:37
                                
>                    AM
                                
>
                                
>
                                
>
>
>
>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

*********** END REPLY SEPARATOR  ***********
Phil Babcock
Lead Web Designer
BGS Group Inc.

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

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.