When did the <br> tag ...

Just wondering, when did the

tag be allowed to still be done with XHTML.

I of course do

on br's (and so does dreamweaver if I have the correct doctype added) but the W3C validator allows

as well as

.

Now if only some web designer in Australia would relise there was a workaround to make float's push the footer down to the bottom I will be happy. At least I have the correct workaround now.

#224103

As far as the XHTML 1.0 spec is concerned, empty elements "must either have an end tag or the start tag must end with />".

This is also specified to be the case by the DTDs.

I would imagine that one of two things is happening here - either the validator is picking up the wrong DOCTYPE for your document for some reason (HTML 4, for example) or there's a bug in the validator. Personally, I would't be surprised by either scenario - validators are incredibly hard to get right, and the W3C's validators are constantly being tweaked and updated to more precisely and correctly handle the myriad markup messes that we web monkeys come up with.

#224165

So in theory, if you did

instead of

that would be valid, although fairly ridiculous?

#224317

So in theory, if you did

instead of

that would be valid, although fairly ridiculous?

Indeed.

Should work, too...

#224318

Okay, I was wrong. The page that was validating was download to my computer using Firefox and Firefox changed the

tags to

Of course, the validators may not pick it up on some types of XHTML

#224327

Just do it as a general rule of thumb... don't need any validator to tell you about

s.

#224460