Invalid HTML?

Permalink Browser Info Environment
Hi, I just ran the W3C validator on a XHTML 1.0 Transitional Concrete5 install, and found it failed because of the use of the class element on H3 tags generated by this plugin. Any ideas on how to fix this? Perhaps use a different doctype?

Thanks

Type: Discussion
Status: New
townend
View Replies:
Tony replied on at Permalink Reply
Tony
what? that can't be right. there's no reason you can't put a class element on header tags. validators do complain sometimes when you have and empty class tag with no value. is that what was happening? the transitional is probably the best doc type for you to use. maybe can you attach a zipped version of the validation report? also, was this happening with the mailing list subscription block, on the front-end of your site?
townend replied on at Permalink Reply
townend
Thanks for the reply Tony. This forum's is badly designed because I can't see your post now I've clicked reply.
However, the site in question ishttp://textatip.co.uk/. The H3 tag the validator doesn't like is
<h3 class="mailing-list-signup-title">Join Mailing List</h3>
on line 93 and the error messages 'there is no attribute "class"' and 'element "H3" undefined'.

The markup seems okay to me, no doubt I'm overlooking something obvious because I've been staring at it for too long!

Thanks again
Tony replied on at Permalink Reply
Tony
that's crazy that it's even telling you that the H3 tag is undefined. perhaps it's case sensitive, and is expected a lower case h3 instead. Try using this doc type and see what happens:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">

(no space before transitional.dtd)
townend replied on at Permalink Reply
townend
Hi Tony, was already using the XHTML 1.0 doctype, but I tried yours anyway to no effect. If you check the source the H3 tag is in lowercase, just the validator capitalises it to show where the problem is. Oh well, so long as I know it's okay I'll just have to ignore it. Thanks for the help :)
Tony replied on at Permalink Reply
Tony
you had the same doc type, but the doc type definition appeared to be different. still scratching my head on this one...
townend replied on at Permalink Reply
townend
Yeah I noticed the definition was different but it still caused the same result. I've never had any problems with the validator before, will let you know if I find a resolution. Thanks again for your help.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.