W3C XHTML Validation Errors

Please post your suggestions or any hacks you have made here

W3C XHTML Validation Errors

Postby filipetorres on Tue Jan 22, 2008 5:04 am

Hi,
I tried validate a form in W3C Markup Validation Service and don't pass it, due two markup errors in mambots/content/chronocontact.php code, listed below:

Line 59. The element must end with /> instead > and the attribute value is empty without reason.
Code: Select all
<input name="chrono_verification" type="text" id="chrono_verification" value=""[b][color=#FF0000]>[/color][/b]

Must be:
Code: Select all
<input name="chrono_verification" type="text" id="chrono_verification" value=""[b][color=#FF0000] />[/color][/b]

Line 60. The attribute alt does not exist in <img> tag and the element must end with /> instead >
Code: Select all
&nbsp;&nbsp;<img src="'.$mosConfig_live_site.'/administrator/
components/com_chronocontact/chrono_verification.php"[b][color=#FF0000]>[/color][/b]';

Must be:
Code: Select all
&nbsp;&nbsp;<img src="'.$mosConfig_live_site.'/administrator/
components/com_chronocontact/chrono_verification.php"[b][color=#FF0000] />[/color][/b]';
filipetorres
Fresh Boarder
 
Posts: 10
Joined: Tue Aug 21, 2007 11:46 pm

Re:W3C XHTML Validation Errors

Postby GreyHead on Tue Jan 22, 2008 6:31 am

Hi felipetorres,

Thanks for that, good catches. I hope that Max will correct them in the next mambot release.

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3359
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany


Return to ChronoForms Suggestions & Hacks

Who is online

Users browsing this forum: No registered users and 1 guest