Jump to content
Killersites Forums

What are XHTML and CSS Valid links on a Webpage??


Recommended Posts

Hello,

 

I am using a template that contains 'XHTML 1. 0 Strict' and 'CSS Valid' links at the bottom of the Main page.

 

I assume these must link to an engine that checks the web page(s) for standards. What is it exactly, should I use it, and should I keep the links on the web page??

 

This is my first web page for a client and I am sure they will ask what it is.

 

Jerry

Link to post
Share on other sites

If your pages/site meets the requirements as per the W3C Validators, you are entitled to display them on your site as confirmation that the page has been coded according to the standards in place.

You can find the (x)html and css validators at the w3c.org site.

Link to post
Share on other sites
Thank you,

 

When I click on them I get a message about missing header information. So something is not set up right I guess.

 

Jerry

Can you copy the error message into a posting here, please.

The file needs to be on the web (live) for the validator to work properly. It won't link to aq file on your local machine.

Link to post
Share on other sites
Jlhaslip wrote:

The file needs to be on the web (live) for the validator to work properly. It won't link to aq file on your local machine.

 

If you have Firefox web developper tool bar, you can validate local files by going to Tools - Validate Local HTML or CSS.

Link to post
Share on other sites

NOTE: Those buttons are not site wide, they stipulate that the page which has them validates, so if a page does not you don't use them on that page, as it is a template they are automatically included even if you break validation in your content for instance.

 

I would argue the "Best Practice" comment, I know of few who consider it best practice. It only strokes the owner/designer's ego. It is meaningless to normal folks and to designers... we would expect it to validate with or without. They are useless on templates because pages show them rather they validate or not... and odds are if you use for instance a Flash header in the template, no pages will validate. Then you can break validation in your content easily to invalidate a single page... or in the case of Blogs etc., odds are hight that the user will invalidate your pages through their comments. So at any one time you may have many pages not validate and not know it. Bit embarrassing to claim validation when it in fact does not. So most designers I have discussed this with find them useless and/or misleading and therefore not best practice.

Link to post
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.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...
×
×
  • Create New...