Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Validate markup of password-protected sites with W3C

I have an online app that I am wanting to validate the HTML markup of against the W3C validator.

Problem is users need to log in first to access them.

How do I go about validating these pages?

like image 357
Joel Avatar asked Jan 12 '10 21:01

Joel


2 Answers

With this html validator extension. Or by Ctrl-U, copy-paste into the w3c page.

like image 163
Tobu Avatar answered Sep 22 '22 01:09

Tobu


You have to run the service they provide on your server:

http://validator.w3.org/docs/install.html

Thats what we've done, works great.

I think it's best practice to be validating your sites source when it's in development not when its in production... Treat this just like running unit tests. You shouldn't have markup errors go live either.

like image 44
JP Silvashy Avatar answered Sep 21 '22 01:09

JP Silvashy