At 5:05 PM -0400 4/25/07, Lori Lay wrote:
Zoltán Németh wrote:
Incidentally, "<br/>" is an error for html.
can you tell me why <br/> is an error????
greets
Zoltán Németh
<br/> is xhtml. It's not an error in xhtml, but
might confuse older browsers. I tried it, even
with a strict HTML 4.01 doctype and didn't get
any errors, but who knows. I have read that
<br/> might confuse older browsers, so it is
usually written <br /> to avoid problems.
The basic HTML version is <br>.
Lori
Lori:
To me, as error is something that is reported to
me as an error by the w3c. If they accept it,
then I accept it. That's the compliance thing --
I don't make the rules, I just try to live by
them.
Also, which older browsers have problems with it?
I've been using "<br/>" in sites for many years
and never had any problem with it whatsoever.
Also, every browser that BrowserCam provides has
not demonstrated any problems with using "<br>"
-- or at least none that I've seen.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php