Hello, I am currently creating a website and I know that my code will not validate wc3 … I wish I could fix it now before putting my site online. This is a rollover on picture.
My code source:
<img style="border: 0px solid ; width: 120px; height: 110px;"
src="images/smartybubblesteaser.png"ALT="Jeu Smarty Bubbles"
onmouseover="this.src='images/jouer.jpg'"ALT="Jeu Smarty Bubbles"
onmouseout="this.src='images/smartybubblesteaser.png'"ALT="Jouer à Petite Marie les zombies" >
it’s very difficult for me to understand, and that’s why I ask for your help … and hello from France;)
Thank you
Many thanks for uploading the file it makes validation a lot simpler.
Here is a link which shows all the errors and warnings, quite a few are quite simple to fix such as:
duplicate image alt attribute - Only one alt attribute per image is allowed.
no space between attributes. - No spaces allowed between atributes.
Article lacks heading. - Page requires heading.
Please fix these errors and Google for solutions for other errors. If you have any specific problems then please feel free to ask and explain what steps you have made to eliminate the error (so we do not have to repeat what you have already done
Off Topic:
I am off to bed for an early night because tomorrow is Launch Day for the New SitePoint Forum!!!
I tested another page http://big-jeux.com/teste2.html ;), it is almost valid, but I can not encode properly. I tried encode ansi, UTF8, and UTF8 (without boom)
Byte-Order Mark found in UTF-8 File.
The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.
I’ve never used Notepad++, but a quick search suggests the thing to do is to choose the “Encode in UTF-8 without BOM” option. (See the first reply here: http://stackoverflow.com/questions/291455/xml-data-at-root-level-is-invalid) If that doesn’t work, you’ll need to wait for somebody who uses Notepad++.
You may be interested in the following FireFox Addon that shows either a green or red icon in the browser immediately after the Firefox has displayed the web=page. Green and red for valid HTML and red with errors.
Clicking on the icon shows three panels, source code, errors and a help. Using this unobtrusive Firefox Addon will save you time.