Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Understanding Html Validation Errors

Recommended Posts

Hello to you all not been here before but hear ed good things and pointed here as I have a problem.Briefly I have a site I am in the process of building based on a borrowed structure which I have slowly dismantled and am putting back together. I took this on knowing very little about HTML but believe you have to try. The site is now around 10 pages and I was advised to put it through the W3 verifier to see how it looked. Well it looks fine until I put it through... the verifier is not too keen it would seam . My problem is that I am not conversant enough to understand the result or how to correct it.Is there someone that can lend me their experience and take a look please ???Regards kvarnerexpress

Share this post


Link to post
Share on other sites

There are lots of errors which the w3c validator picks up. The most common one is that alt attributes are not placed inside img tags. Eg:

 

Wrong:

<img src="image.png" height="20" width="200">

Right:

<img src="image.png" height="20" width="200" alt="Divider">

Even if the alt attribute is left with nothing inside it, it still has to be there or else w3c markup validator will pick it up as an error.

 

There are loads more but it would helpful if you posted links to your validation results.

Share this post


Link to post
Share on other sites

i can help out as well im a pretty good expert on how to fix the validation errors that wc3 puts up but just need a the website url to help you out.

Share this post


Link to post
Share on other sites

The errors are a little bit self explicative, and they point out the very line where the error has been found.If you are using an editor such as dreamweaver, you can take advantage of the 'help' code (while you are in code view) that pops up when you start writting (dreamweaver tries to gues what you want to type, given the position of the cursor, wheter its a specific tag attribute, or a particular css property or the fixed values of those, etc), and theres an additional help in dreamweaver that examines the code in search for particular browser errors, right to the left of the file managment (get or put file into server or local site), theres the browser check errors, where you can tell what browser are you designing for and dreamweaver underlines wrong code (as if it was ms office winword), and then you can debug your html...But that is IF you do have dreamweaver.. hehe anyway, why dont you post the link to the page or the errors themselves so we know what to advice exactly... cheers and good luck :)-10730

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.