Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts

    simple queston on DTD

    Will older browsers render a page correctly even if it has an XHTML DTD?

    Regards,
    Boggly

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes. That's why you have to put a space in front of the slash in tags that don't have a closing tag.
    <br /> <img /> <input />

  • #3
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    XHTML 1.0 was designed to be backwards compatible. Like MCookie said, the only hangup is that NS4 will not render <br/> (which is valid), but will render <br /> (which is also valid).

  • #4
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,459
    Thanks
    1
    Thanked 23 Times in 21 Posts

    Well...

    Internet Explorer has a couple hangups on an XHTML 1.1 document, with the doctype, that is.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #5
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts

    Re: Well...

    Originally posted by Alex Vincent
    Internet Explorer has a couple hangups on an XHTML 1.1 document, with the doctype, that is.
    MS doesn't claim any support higher than XHTML 1.0 Transitional for IE last time I checked.

  • #6
    New Coder
    Join Date
    Jul 2002
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Okay, thanks all.

    -boggly


  •  

    Posting Permissions

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