Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Html validation


Recommended Posts

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?



i need qucik reply!!

Link to comment
Share on other sites

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"

You can read about doctypes here



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


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...