Originally posted by: igowerf
Shahbazq has it right. In the XHTML standard, all tags have to be closed, including the ones that are just a single tag like br or img.
yeah but do that and some stupid browsers out there give u two line breaks instead of oneOriginally posted by: notfred
you can use <br></br> if you want.
Originally posted by: shahbazq
I think it has something to do with xml. I was looking a few months ago and XHTML has to conform to XML standards, part of which is that everything needs a closing tag. since a break doesn't have a closing tag, its included by having the space-slash in the tag itself.
w3schools.com should be able to verify/clarify this.
Originally posted by: Czar
use <br />
it is the new standard
its only a matter of time when <br> stops working (could take a looong time though)
and I see no reason not to![]()
Originally posted by: igowerf
Originally posted by: Czar
use <br />
it is the new standard
its only a matter of time when <br> stops working (could take a looong time though)
and I see no reason not to![]()
I think <br /> is only for XHTML though. You shouldn't use it if your DOCTYPE is for HTML. It'll still work though.
Originally posted by: Czar
Originally posted by: igowerf
Originally posted by: Czar
use <br />
it is the new standard
its only a matter of time when <br> stops working (could take a looong time though)
and I see no reason not to![]()
I think <br /> is only for XHTML though. You shouldn't use it if your DOCTYPE is for HTML. It'll still work though.
true, but xhtml is the new standard
My third reason to refuse the validation circus is the most personal and least technical one. It's an emotional matter. My rationality has taken a holiday.
To me, the standards and (especially) the way we should implement them have taken on the insufferable air of a dogmatic, uncreative religion that only exists to enforce its arbitrary rules about what to do and how to think, ministered by a self-proclaimed caste of bigot priests.