Link to home
Start Free TrialLog in
Avatar of Richard Quadling
Richard QuadlingFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Why does TFOOT fail w3c validation?

Why does fail this simple HTML?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">

What am I missing?
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ignore my first line
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">

I use this line to parse locally
for in the browser you should keep your first line


Avatar of Richard Quadling


Well. So it does! DOH! What a LOT of templates I have to change.


My "footers" are calculated after the details are sent (counts, totals, etc). So for I only what know the "footer" is after the "body". So, probably better for me to drop the <tfoot></tfoot> tag and just make them part of the <tbody>.

And in truth, I wouldn't want the totals at the bottom of every page if printed, so another reason to make them <tbody>.