1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Buying Validate my blog (w3c) for $

Discussion in 'Services' started by diego018, Apr 3, 2014.

  1. #1
    diego018, Apr 3, 2014 IP
  2. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    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
     
    Just need it, Apr 3, 2014 IP
    diego018 likes this.
  3. diego018

    diego018 Well-Known Member

    Messages:
    920
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Thanks, that was very helpful. Now i have 3 errors:

    1. [​IMG] 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.
    2. [​IMG] Line 2, Column 60: Stray start tag html.
      xmlns="http://www.w3.org/1999/xhtml/" dir="ltr" lang="es-ES"><head


    3. [​IMG] 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


     
    diego018, Apr 3, 2014 IP
  4. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    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>
     
    Just need it, Apr 3, 2014 IP
  5. diego018

    diego018 Well-Known Member

    Messages:
    920
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    thanks, after that i got 53 errors :Z
    what else can i do
     
    diego018, Apr 3, 2014 IP
  6. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    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.
     
    Just need it, Apr 3, 2014 IP
  7. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    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
     
    Just need it, Apr 3, 2014 IP
  8. diego018

    diego018 Well-Known Member

    Messages:
    920
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    im still getting errors with the first line, i made the edits with a text editor maybe that's the issue?

    1. [​IMG] 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.
    2. [​IMG] Line 1, Column 22: Stray start tag html.
      <!doctype html><html><head><link


    3. [​IMG] Line 1, Column 28: Stray start tag head.
      <!doctype html><html><head><link


     
    diego018, Apr 3, 2014 IP
  9. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    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.
     
    Just need it, Apr 3, 2014 IP