SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2005
    Location
    Blaine. WA
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Question re <br /> tag

    I'm nearly done with a 40+ page website for my employer (I'm no pro designer, just an employee who enjoys this who they didn't have to pay extra) and have based the site on Paul O'B's 3 column CSS design. Ran the first page through the W3C validator and came up with 40+ errors, all of which were "end tag for "br" omitted, but OMITTAG NO was specified."
    I wasn't aware of the change from <br> to <br />. Is this going to matter anywhere, except in validating? Do I need to change all those tags? Is there any secret I need to know, if I do a find/replace all am I going to foul anything up?
    Thanks for any help. This has been a "learn as I go" project, and I was pretty proud of myself. Then to not validate over one silly tag!
    Ronaye
    Peace.
    rt

  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,273
    Mentioned
    60 Post(s)
    Tagged
    3 Thread(s)
    well, if validation matters, make the change, otherwise you could just leave it

    but it's a piece of cake with a text editor, like you say -- a simple search & replace
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2005
    Location
    Blaine. WA
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So, the <br /> goes in the same place the <br> would? There's no tricks??
    rt
    Peace.
    rt

  4. #4
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,423
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Koimom
    So, the <br /> goes in the same place the <br> would? There's no tricks??
    rt
    Nope. You can switch one for the other.

  5. #5
    SitePoint Enthusiast
    Join Date
    Jan 2005
    Location
    Blaine. WA
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile

    Blessings and many thanks to you both, I just love these forums!
    Ronaye
    Peace.
    rt

  6. #6
    SitePoint Enthusiast MstrBob's Avatar
    Join Date
    Dec 2004
    Location
    New York City
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why even use XHTML in the first place unless you've a solid grasp of HTML, and exactly what XHTML entails?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •