|
-
Nov 1st, 2002, 01:51 PM
#1
Thread Starter
Stuck in the 80s
[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.
-
Nov 1st, 2002, 03:38 PM
#2
Frenzied Member
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 -->
-
Nov 2nd, 2002, 11:10 AM
#3
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 -->
-
Nov 2nd, 2002, 12:25 PM
#4
Frenzied Member
Yeah NS 4 is a pain to cater for, but the newer ones are fine.
-
Nov 2nd, 2002, 06:03 PM
#5
Thread Starter
Stuck in the 80s
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.
-
Nov 4th, 2002, 11:40 PM
#6
Black Cat
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.
-
Nov 5th, 2002, 04:11 PM
#7
pfft... Nutscrape Nut.
*braces for potential Browser War*
-
Nov 5th, 2002, 09:39 PM
#8
Black Cat
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.
-
Nov 6th, 2002, 10:34 AM
#9
Aah, yes.
I take my comment back, save it for later.
-
Nov 6th, 2002, 12:28 PM
#10
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|