Jump to content

HTML & CSS Validation


Guest

Recommended Posts

Hi Everyone

Hoping someone can pls explain to me.....

When validating a website,,,,, using cubecart.....

Do you check for validation on every single html page ie. section of your store? if so, is there a quicker way of doing this then having to go to every page and validating?

Or

Does the validation count for all pages?

I guess that the same question would be for the css.

Much appreciated.

Thank-you.

Cheers

Antz

Link to comment
Share on other sites

You should validate:

- The Home Page

- A Product Page

- A Category Page

- A Site Document Page

- The Registration Page

- The User Login Page

- The Cart Page

- CSS validation for any page.

Then, so long as you use valid code in the product descriptions, you're site should fully validate. Note that if you use the standard 'short product description' feature for products listed in viewCat.tpl, then special characters (e.g. &) may get truncated. This will cause any pages listing this product's short description to fail validation. There is a solution to this problem here:

http://forums.cubecart.com/index.php?showt...mp;#entry129096

Link to comment
Share on other sites

You should validate:

- The Home Page

- A Product Page

- A Category Page

- A Site Document Page

- The Registration Page

- The User Login Page

- The Cart Page

- CSS validation for any page.

Then, so long as you use valid code in the product descriptions, you're site should fully validate. Note that if you use the standard 'short product description' feature for products listed in viewCat.tpl, then special characters (e.g. &) may get truncated. This will cause any pages listing this product's short description to fail validation. There is a solution to this problem here:

http://forums.cubecart.com/index.php?showt...mp;#entry129096

Thanks Homar, so basically when designing a skin you should validate all of those pages you mentioned above "manually"

Hope i got that right.... does this apply also to the css?

Much appreciated.

Thank-you.

Kindest Regards,

Antz ;-)

Link to comment
Share on other sites

Hi Antz,

Why don't you validate every page at once?

http://www.htmlhelp.com/tools/validator/

Type in the root URL of CC (eg. www.amazegifts.com if the root is in public_html) and check the "Validate entire site" checkbox.

AJ Rao

Hey AJ

That's probably what i was looking for ;-)

Much easier :unsure:

Thanks!

PS. pls review my pseudo classes post,,,,, pretty plssssssssss jeje

Kindest Regards,

Antz :)

Link to comment
Share on other sites

  • 2 years later...
Guest adeelasim

can anyone explain what does this validation error mean:

document type does not allow element "html" here <html xmlns="http://www.w3.org/1999/xhtml">

what needs to be fixed here with respect to validation.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...