Results 1 to 10 of 10

Thread: [Resolved] XHTML Support

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    [Resolved] XHTML Support

    I want to switch over and start coding by the XHTML Standards, but first, how well is it supported by various browsers?
    Last edited by The Hobo; Nov 6th, 2002 at 02:04 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    I don't think you should have any problems, as long as you remember to leave a space before the closing / of empty tags, e.g.:

    Code:
    <br /> <!-- is fine -->
    <br/> <!-- can cause problems -->

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    All your answers are here:

    http://www.w3schools.com/xhtml/

    And it is supported by browsers.

    <br/> <!-- can cause problems -->

    Apparently Netscape, the poo pellet of the browser world, doesn't like it, which is why it has to be

    <br /> <!-- thanks to the bastards at Netscape -->

  4. #4
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Yeah NS 4 is a pain to cater for, but the newer ones are fine.

  5. #5

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by mendhak
    All your answers are here:

    http://www.w3schools.com/xhtml/

    And it is supported by browsers.

    <br/> <!-- can cause problems -->

    Apparently Netscape, the poo pellet of the browser world, doesn't like it, which is why it has to be

    <br /> <!-- thanks to the bastards at Netscape -->
    I don't recall seeing anything on that site about it when you last referred me to it. Maybe I just missed it. But thanks anyways. And thanks, Rick.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  6. #6
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Originally posted by mendhak
    All your answers are here:

    http://www.w3schools.com/xhtml/

    And it is supported by browsers.

    <br/> <!-- can cause problems -->

    Apparently Netscape, the poo pellet of the browser world, doesn't like it, which is why it has to be

    <br /> <!-- thanks to the bastards at Netscape -->
    No, Netscape is correct. There is no "br/" tag defined in HTML. There is no "/" attribute either, but that doesn't stop it from rendering it.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    pfft... Nutscrape Nut.

    *braces for potential Browser War*

  8. #8
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Originally posted by mendhak
    pfft... Nutscrape Nut.

    *braces for potential Browser War*
    No, you misunderstand. You're looking at the text at how you as a human see it, not as an old HTML parsing engine would se it. <br/> is no diiffent than <brt> or <br8> or <brr> as not being a <br> tag. <br /> is the same as <br /="/"> or <br t="t"> - invalid attribute, but still a <br> tag and renderable if you ignore the invalid attribute. Understand what I'm saying?
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  9. #9
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Aah, yes.
    I take my comment back, save it for later.

  10. #10
    Addicted Member
    Join Date
    Sep 2002
    Location
    Durham, NC, US
    Posts
    218
    I check in so rarely anymore, but everytime I do, there is a reason to applaud Josh.

    (Oh, and one more reason to resent the MS-wash.)
    Travis, Kung Foo Journeyman

    Web Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.5 Guide and Reference
    Perl: Documentation, Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    OSS: Mozilla, MySQL (Manual)

Posting Permissions

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



Click Here to Expand Forum to Full Width