Cross-Browser Coding

W

Woolly Mittens

Nicolai P. Zwar said:
Woolly Mittens wrote:

We're getting in a loop. We disagree. You do not see my point and I am tired
of re-explaining it.

Bye now...
 
I

Isofarro

Woolly said:
Nicolai P. Zwar said:
Toby said:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<title>Example</title>
<body><!--[if gte IE 5]><input type example><![endif]--></body>
I believe you, Toby, though I don't have an IE5 around to check for
myself what the surprising effect is.

It crashes IE5 in a stupid way... complete and utter program failure.

This is the only working part <input type example> and it's part of no
standard I know off.

Its part of SGML, which is the basis of HTML.Comments are allowed to be any
characters except --. So Toby's example above is a correctly formatted
comment.
 
N

Nicolai P. Zwar

Woolly said:
We're getting in a loop. We disagree. You do not see my point and I am tired
of re-explaining it.

Suit yourself, but please don't confuse "seeing your point" with
"agreeing with your point".
Bye now...

Cheerio!
 
T

Toby A Inkster

Woolly said:
Nicolai P. Zwar said:
Toby said:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<title>Example</title>
<body><!--[if gte IE 5]><input type example><![endif]--></body>

I believe you, Toby, though I don't have an IE5 around to check for
myself what the surprising effect is.

It crashes IE5 in a stupid way... complete and utter program failure.

This is the only working part <input type example> and it's part of no
standard I know off.

On its own, no, but like this:

<!--[if gte IE 5]><input type example><![endif]-->

it is a valid comment in HTML.

If you don't believe me:

http://validator.w3.org/check?uri=h...k/tobyink/scratch/example.html&ss=1&verbose=1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top