Quote:
Originally Posted by susan_cassidy
In kapittel2.html, there are a bunch of br tags without a space before the closing slash. Maybe that's it?
|
Just a minor "for info" on this - tags like BR which use a closing slash are valid XHTML with or without the space before the closing slash. The only reason for including the space is for backwards compatibility with browsers or other display applications that aren't XHTML compatible - they barf on the closing slash unless it's separated from the rest of the tag content by that space. If that kind of backwards compatibility isn't required, then it shouldn't matter if the space is included or not. The presence or absence of the space certainly shouldn't have any effect on validation.
Just thought I'd mention it, since I see the issue of that space before the closing slash come up every now and then in the forums.