Jaskaran Posted December 18, 2009 Share Posted December 18, 2009 Hello Friends! I want to validate my OSc site.So i am usinghttp://validator.w3.org/ it shows the errr like Line 11, Column 19: Attribute "MARGINWIDTH" is not a valid attribute. Did you mean "marginwidth"? <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin... Like above it shows marginheight and remaining attributes are not valid.. what is this problem? because i am sure these attribs are valid. Is there any another free tool which validate my HTML and tell me the filename in which error occur? Thanks! i need qucik reply!! Link to comment Share on other sites More sharing options...
Hotclutch Posted December 18, 2009 Share Posted December 18, 2009 Assuming you are trying to validate for <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Replace the whole <body> tag with its attributes with <body> and revalidate Link to comment Share on other sites More sharing options...
Guest Posted December 18, 2009 Share Posted December 18, 2009 The first thing you need to do is to correct your doctype. With osc rc versions you should use <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> You can read about doctypes here Doctypes Then as Ashley stated above, remove those from the body tag. If you need those then put them in your stylesheet. They would go in the BODY portion. You can read about css here CSS Link to comment Share on other sites More sharing options...
Jaskaran Posted December 21, 2009 Author Share Posted December 21, 2009 Thanks all of you!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.