Hi, i need my blog to be w3c validated. i found these errors: http://validator.w3.org/check?uri=w...(detect+automatically)&doctype=Inline&group=0 Please Pm with price, payment by paypal.
converting <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www. w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">to this <!doctype html> should fix most of the errors. If any remains after changing the doctype declaration just post back here
Thanks, that was very helpful. Now i have 3 errors: Line 1, Column 16: Element head is missing a required instance of child element title. <!doctype html><html Content model for element head: If the document is an iframe srcdoc document or if title information is available from a higher-level protocol: Zero or more elements of metadata content, of which no more than one is a titleelement and no more than one is a base element. Otherwise: One or more elements of metadata content, of which exactly one is a title element and no more than one is a base element. Line 2, Column 60: Stray start tag html. xmlns="http://www.w3.org/1999/xhtml/" dir="ltr" lang="es-ES"><head ✉ Line 2, Column 60: Cannot recover after last error. Any further errors will be ignored. xmlns="http://www.w3.org/1999/xhtml/" dir="ltr" lang="es-ES"><head
Convert <html xmlns="http:// www. w3.org/1999/xhtml" dir="ltr" lang="es-ES"> this: <html> and <head profile="http:// gmpg. org/xfn/11"> to this: <head>
For all <link> and <meta> tags make them close like this <link ...attributes... /> <meta ...attributes... /> notice the / before closing > (i.e. '/>') This should eliminate many other errors as well, just try it and let me know.
Oh, and I noticed some <link> and <script> tags are inside <body>, move them up to the <head> element. While HTML5 allows for that W3C still classify it as a violation. Try it and post back
im still getting errors with the first line, i made the edits with a text editor maybe that's the issue? Line 1, Column 16: Element head is missing a required instance of child element title. <!doctype html><html><head><link Content model for element head: If the document is an iframe srcdoc document or if title information is available from a higher-level protocol: Zero or more elements of metadata content, of which no more than one is a titleelement and no more than one is a base element. Otherwise: One or more elements of metadata content, of which exactly one is a title element and no more than one is a base element. Line 1, Column 22: Stray start tag html. <!doctype html><html><head><link ✉ Line 1, Column 28: Stray start tag head. <!doctype html><html><head><link ✉
Ok, here is a fixed version of page sources without any error, you can proceed with it's help. try to match your markup with this one and all should be good. http://pastebin.com/uDFs8JhW Just copy the raw version and validate it using 'Validate by direct input' method on W3 validator. It might show 2 warnings, however, those are not markup related, you can safely ignore them.