Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
Validate your site from w3org html/css validator with a link

 
Post new topic   Reply to topic    dna88 Forum Index -> Web design and solution Discussion Forum
Author Message
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Validate your site from w3org html/css validator with a link Reply with quote

For thos of you who do not know, W3C Markup Validation Service is a free service that checks documents like HTML and XHTML for conformance to W3C Recommendations and other standards. Many of you may want to provide a link on your website directly to the w3 validator page so that your users can check out if your site is in compliance with all the html and standards. This builds your users' or clients' confidence. That you are capable of writing clean, efficient, and right codes.

Anyway, to show your readers that you have taken the care to create an interoperable Web page, you may display an icon on any page that validates. Here is the HTML you should use to add this icon to your Web page:

<p>
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10"
alt="Valid XHTML 1.0!" height="31" width="88" /></a>
</p>

Thanks to this code, you will be able to re-validate your Web page by following the link (click on the image). If you like, you can download a copy of the image in above code to keep in your local web directory, and change the HTML fragment above to reference your local image rather than the one on this server.

Similarly for CSS:
To show your readers that you've taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the HTML you could use to add this icon to your Web page:


<p>
<a href="http://jigsaw.w3.org/css-validator/">
<img style="border:0;width:88px;height:31px"
src="http://jigsaw.w3.org/css-validator/images/vcss"
alt="Valid CSS!">
</a>
</p>

If you would like to create a link to the CSS validation result page for your website directly to make it easier to re-validate the page in the future or to allow others to validate your page, the URI is:

[http://jigsaw.w3.org/css-validator/validator?uri=http://www.yoursite.com/yourcss.css]

or
[http://jigsaw.w3.org/css-validator/check/referer] (for HTML/XML document only)
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Sun Sep 26, 04 1:14 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
emm
Power User
Power User


Joined: 13 Jul 2004
Posts: 310

Post Post subject: Reply with quote

Good information. Thanks. I saw it in many good websites but never gave it much thought. So thanks for bringing the topic to my attention.
_________________
“You might say reality is the result of complex negotiations between the observer and the observed. But that is simply a point of view…”
Digital Bangladesh
Sun Sep 26, 04 2:29 am
Back to top
emm View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Web design and solution Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group