Announcement

Collapse
No announcement yet.

W3 Validator

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • W3 Validator

    Anyone have experience with the W3 validator? Mainly my keywords in my meta tags are causing errors. Something about attribute not serializable. Help!

    Www.northshorelawn.com
    Last edited by w0283767; 06-26-2012, 10:54 AM. Reason: Forgot to leave url

  • #2
    You have this

    content=”xxxxxxxxxx">
    but you need this

    content=”xxxxxxxxxx" />
    Last edited by CHEESE2009; 06-26-2012, 08:51 PM.

    Comment


    • #3
      Hmmmm. Thanks for taking a look for me. I tried adding in the "/" both with and without the space and it hasn't seemed to help any. Not sure what the heck the issue is.

      Comment


      • #4
        I modeled the keyword coding from someone on the forum so I will have to ask them if they can give me any advice. As you can see below, theirs comes back clean as a whistle mine is coming back full of errors.

        I had taken a look at www.boughterslawncare.com since he seemed to be a pro at web development judging from the forum and his site ran clean on the validator. Mark123, I hope you don't mind me using your site as an example. Hopefully I bring you some traffic.

        Theirs

        <!DOCTYPE html>

        <html>

        <head><meta charset="UTF-8" /><meta name="keywords" content="New Castle, PA, Edinburg, Edinberg, Edenburg, Bessemer, New Wilmington, West Pittsburgh, 16101, 16102, 16103, 16105, 16117, 16148, lawn care, fertilizer, fertilizing, weed control, grubs, chinch bugs, grass, weeds, kentucky blue grass, pest control, certified applicator, professional mowing, leaf removal" /><meta name="description" content="New Castle's premier lawn care services. Professional mowing and fertilizing." /><title>

        Passed, 1 warning(s)


        Mine

        <!DOCTYPE html>

        <html><head>

        <meta charset="UTF-8">

        <meta name=”keywords” content=”Madisonville, Mandeville, Covington, Ponchatoula, Hammond, Louisiana, lawn care service, mowing, grass cutting, landscaping, leaf removal, clean up, fertilizer, fertilizing, mulch, shrubs, trimming” />

        <meta name=”description” content=”Delivering high quality lawn care at an affordable price to residential and commercial clients in the Northshore area.”>



        <title>Northshore Lawn and Landscape Madisonville, La | Lawn Care Service</title>


        Validation Output: 56 Errors

        Line 4, Column 232: Attribute mandeville, is not serializable as XML 1.0.
        …g, leaf removal, clean up, fertilizer, fertilizing, mulch, shrubs, trimming” />

        Line 4, Column 232: Attribute covington, is not serializable as XML 1.0.
        …g, leaf removal, clean up, fertilizer, fertilizing, mulch, shrubs, trimming” />

        Line 4, Column 232: Attribute ponchatoula, is not serializable as XML 1.0.
        …g, leaf removal, clean up, fertilizer, fertilizing, mulch, shrubs, trimming” />

        Line 4, Column 232: Attribute hammond, is not serializable as XML 1.0.
        …g, leaf removal, clean up, fertilizer, fertilizing, mulch, shrubs, trimming” />

        Comment


        • #5
          I modeled the keyword coding from someone on the forum so I will have to ask them if they can give me any advice. As you can see below, theirs comes back clean as a whistle mine is coming back full of errors.

          I had taken a look at www.boughterslawncare.com since he seemed to be a pro at web development judging from the forum and his site ran clean on the validator. Mark123, I hope you don't mind me using your site as an example. Hopefully I bring you some traffic.

          Theirs

          <!DOCTYPE html>

          <html>

          <head><meta charset="UTF-8" /><meta name="keywords" content="New Castle, PA, Edinburg, Edinberg, Edenburg, Bessemer, New Wilmington, West Pittsburgh, 16101, 16102, 16103, 16105, 16117, 16148, lawn care, fertilizer, fertilizing, weed control, grubs, chinch bugs, grass, weeds, kentucky blue grass, pest control, certified applicator, professional mowing, leaf removal" /><meta name="description" content="New Castle's premier lawn care services. Professional mowing and fertilizing." /><title>

          Passed, 1 warning(s)


          Mine

          <!DOCTYPE html>

          <html><head>

          <meta charset="UTF-8">

          <meta name=”keywords” content=”Madisonville, Mandeville, Covington, Ponchatoula, Hammond, Louisiana, lawn care service, mowing, grass cutting, landscaping, leaf removal, clean up, fertilizer, fertilizing, mulch, shrubs, trimming” />

          <meta name=”description” content=”Delivering high quality lawn care at an affordable price to residential and commercial clients in the Northshore area.”>



          <title>Northshore Lawn and Landscape Madisonville, La | Lawn Care Service</title>


          Validation Output: 56 Errors

          Line 4, Column 232: Attribute mandeville, is not serializable as XML 1.0.
          …g, leaf removal, clean up, fertilizer, fertilizing, mulch, shrubs, trimming” />

          Comment


          • #6
            Dangit. The source code is not copying over. Maybe I put too much in one post. I will have to revisit tomorrow. Thanks for taking a look though Cheese.

            Comment


            • #7
              Dangit. The source code is not copying over. Maybe I put too much in one post. I will have to revisit tomorrow. Thanks for taking a look though Cheese.
              I'm going to give it a better look, as soon as my girlfriend stops explaining to me how she needs to invent something people would buy, for her school project.

              So far, she wants to come up with a product where paper can be recycled at home into NEW paper.

              She found a site that shows how simple paper can be re-made, but the end result isn't very pretty. It would need to be mechanical, and very expensive to get the right quality made - which defeats the entire purpose of being cost-effective and appealing to consumers.

              Women logic: 0, me: 1

              Comment


              • #8
                Hey, thanks for noticing my super clean coding.

                I think your problem is that you're using curly quotes around your values.

                Use straight quotes instead.

                Instead of this ” use "
                Boughter's Lawn Care Services Mowing and Fertilizing in New Castle, PA

                Comment


                • #9
                  You have this

                  but you need this
                  In HTML5 the closing slash is no longer required but it is optional.

                  Once you change out the quotes let me know if you need help sorting out the other errors. We could probably do away with some of those extraneous DIVs, too. Since you're using the HTML5 doctype you may as well go with the HTML5 semantic tags.
                  Last edited by mark123; 06-26-2012, 10:10 PM.
                  Boughter's Lawn Care Services Mowing and Fertilizing in New Castle, PA

                  Comment


                  • #10
                    since i am the "internet genius" let me tell you that google hasn't indexed websites based off of meta tags (keywords is a meta tag name) in YEARS.

                    if you want to boost your google rank, which you WANT to do, thosewill not help.

                    AT ALL.


                    http://www.youtube.com/watch?v=jK7IPbnmvVU


                    look into it more for yourself if you don't believe me, but i know my sh!t.
                    https://www.facebook.com/photo.php?v=336810496393655

                    Comment


                    • #11
                      Lol I didn't even know there was a difference between curly and non-curly quotation marks.I will have to look at my keyboard when I get home. Thanks for the help!

                      Weekend warrior, I will have to take a look at that video. I had read they were important but I am new to this stuff. They don't make it very easy to figure out do they? Thanks!

                      Comment


                      • #12
                        Lol I didn't even know there was a difference between curly and non-curly quotation marks.I will have to look at my keyboard when I get home. Thanks for the help!
                        It's not the keyboard, it's the editor you are using. MS Word will add curly quotes so don't use that for coding.
                        Boughter's Lawn Care Services Mowing and Fertilizing in New Castle, PA

                        Comment


                        • #13
                          Haha I just realized that as well. I am using Dreamweaver CS5.5. Any idea on how I can get it to stop doing this? I am going to try to manually edit the html file outside of dreamweaver.

                          Comment


                          • #14
                            I have a searing hatred for dreamweaver but I don't think it will add curly quotes unless you copy and paste them in.

                            If that is the case just watch your copy source. Wordpress will do things to code examples.

                            If you are going to use dreamweaver use the code view and avoid the layout view.
                            Last edited by mark123; 06-27-2012, 08:25 PM.
                            Boughter's Lawn Care Services Mowing and Fertilizing in New Castle, PA

                            Comment


                            • #15
                              maybe work with a portal system that is already cleared to pass w3 standards in advance.


                              then all you have to do is make a theme and add your content.
                              https://www.facebook.com/photo.php?v=336810496393655

                              Comment

                              Working...
                              X