Hi friends I need help I have a site which have some html error but all pages are in .php format. I am unable to validate this w3c validation. I am unble to find any other tool to check php html error. Please tell me any online tool to check html error for my site. My site is customermath.com
First of all PHP is a script language that can generate HTML, so you can validate generated HTML via w3c validator here is the direct link to your home page http://validator.w3.org/check?uri=h...(detect+automatically)&doctype=Inline&group=0
most html validation errors are !doctype-related, meaning your are either using the wrong !doctype, OR you are using tags that !doctype doesnt allow. When validating via w3c, it tells you whats wrong. Simply scroll down the page and READ. 1. add the appropriate !doctype if you dont have one, 2. change to a less restrictive !doctype if you do have one, or 3. use css for formatting instead of disallowed tags / change the page structure as neeeded when you read the errors the validator spits out. you can also post the link to your webpage and we can try to help you if you dont understand much of this.