• Resolved TJ1

    (@tj1)


    I have sat up my website at: https://incomobi.com/
    I read that to optimize the site speed I need to check it for errors using W3C markup validator.
    I did that and I am getting 34 errors. However, I do not know where do these error refer to and how to fix them. For example I get this error:

    Line 8, Column 73: Stray start tag html.
    <html xmlns="https://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">

    so this is line 8 of what file? and how can I fix the error? I am a total beginner, and appreciate any help on this.
    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Those refer to the rendered HTML for the page – so you can use a browser to View Source of the page – and find the error line there. But then you have to track down where it came from – which can be a bit tricky – a .php theme file, a plugin or your content can do it.

    See also: https://codex.www.ads-software.com/Validating_a_Website

    Thread Starter TJ1

    (@tj1)

    Thanks a lot for the prompt response.
    Since I am a beginner, can you kindly take a look at my website and tell me as an example where the first error points to. Then based on that I can find the rest.
    The site is https://incomobi.com/
    I really appreciate it.

    I think most if not all of the errors on your site are from the theme – and it doesn’t look like they are very problematic. Some errors aren’t really errors but a result of changing code standards or browser differences. But you’d need to know some code to fix those – or you could contact the theme developers. Personally, I would not worry about it – I don’t think it’s the kind of errors that are likely to slow your site down.

    Thread Starter TJ1

    (@tj1)

    Thank you very much for the help, I really appreciate it.

    Oddly line 8 looks OK…

    Lines 7 and 9 however are iffy

    When using the Validator, after you enter the url, click on options and check the box to view source – then run it – afterwards, the errors will have a link to the line and show the exact spot.

    Thread Starter TJ1

    (@tj1)

    Thanks, that’s very helpful I appreciate it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘what file W3C markup validation refers to’ is closed to new replies.