Menu

Question about use of <BR /> in help-files

Help
2004-02-04
2004-02-05
  • John Sjouken

    John Sjouken - 2004-02-04

    Is there a reason that I see <BR /> (which means according to Boudewijn a linefeed)
    As far as my HTML-knowledge goes it has to be <BR> instead of <BR />.
    Or is there a reason that I see this in the lang_files?

    Greetings
    John Sjouken

     
    • KosherJava

      KosherJava - 2004-02-04

      It should actually be <br /> and not <BR />
      HTML uses <br> but in XHTML all tags have to close so <br></br> is needed. The self eclosing form of this is <br />
      You will notice that in our app we strive to be valid xhtml and all <img tags are self enclosing etc. Just search the forum for xhtml.

       
    • John Sjouken

      John Sjouken - 2004-02-04

      Yep, I just found this information about XHTML.
      But I just didn't realize that PGV uses XHTML :-)
      I thought it only uses HTML/PHP and MySQL

       
    • Mark Hattam

      Mark Hattam - 2004-02-05

      xhtml is largely an attempt by W3 to step up from html 4.x and enforce stricter tags & "grammar" for webcoding.

      Together with CSS2 it should make for better cross-platform webpages, as well as separating content out from styling.

      Most xhtml is much the same as html 4.x. The most obvious difference are the self-enclosing tags, such as <br />  <img ... /> and some of the meta-tags at the top of the file.

      Mark

       

Log in to post a comment.