Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2006
    Location
    Conroe, Texas
    Posts
    18
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Help with Validation

    I have 11 errors and can't figure out what is wrong.
    It tells me the tags aren't complete but when I check them they are all there. There is some error with the for the "Search the Catalog" form. I don't think I can change that and still have the form work??
    The form code is something that I was given by someone else to add to the page and I have no idea how to change it.
    Link to my project page is Here:
    http://www.countylibrary.org/new/big...inheader06.htm

    Link to the validator is here:
    http://validator.w3.org/
    Thank you

  • #2
    Regular Coder
    Join Date
    Jul 2007
    Location
    UK
    Posts
    223
    Thanks
    0
    Thanked 14 Times in 14 Posts
    When validating one error can lead to the validator thinking there are many more. As you have seen all the tags are there, it is this line that is throwing the error:
    You need a space between attributes, i.e. before the "title".

    Also the first error the validator comes up with is in response to the "maxsize" attribute of this line:
    Code:
    <input size="20" name="term" maxsize="100" style="font-size: 10pt;" value="" alt="enter search terms" type="text" />
    I'm 99.9% sure the original author meant to use the attribute "maxlength" instead, which prevents users entering more than the specified value of characters. So I would go ahead and change it if I were you.

  • #3
    New Coder
    Join Date
    Dec 2006
    Location
    Conroe, Texas
    Posts
    18
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Thank You mcjwb

    It Validates!
    And everything still works!
    Thank you so much for your help!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •