treehouse : what would you like to learn today?
Web Design Web Development iOS Development

site is not validations

  • My site is a work in progress and I am having trouble validating it. It is saying I have 1 error.

    Line 72, column 331: Attribute "onload" exists, but can not be used for this element.
    …t="95" border="0" id="home2" onload="" /></a><a href="about.html" target="_to

    Not sure why because that little piece of script is needed for my rollover.

    here is the site
    http://www.appleheadwebdesign.com/index.html
  • "bruizerbeans" said:
    Not sure why because that little piece of script is needed for my rollover.

    Actually, from what I can tell, that peice of code is not doing anything:'
     onload=\"\"

    That is saying: "When this loads... don't do anything"

    I would remove the empty onloads from all the images and see if the rollover still works. It should work and validate.
  • Thanks for your help. I really appreciate it. Happy Holidays.
  • Sure thing. Have a merry one. ;)