page validation question
Because my pages are being reviewed by possible employers i'm trying to get them to validate 100%.
i have a page that links to the Google language translator and the code is:
is there a way or recommendation to get this to validate?
does it matter?!
This should work:
thank-you but that didn't work.
i don't think it's possible to make this pass validation
We'd have to see all your code then. I just ran it through the validator with a 4.01 Strict DTD and it validated.
Originally Posted by toptomato
Make sure all of the ampersands have amp; after them.
Replace all & with %26. Using & is a very bad idea because it will probably cause the URL to fail.
No, i meant that the URL doesn't work when changing to ampersands.
Good info...didn't know that. I use it quite a bit and haven't had issues...i'll do some testing...maybe i have stuff failing all over the place! Appreciate it.
Originally Posted by Declan1991
& is only used to display an & on the page. For URLs, it's customary to encode things as %xx, where xx is the hexadecimal ASCII character code.
If you do not control the page that is being called, you can not control the validation of the content generated. You can only control the validation of your own pages.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)