daddyalfie Posted June 7, 2011 Report Share Posted June 7, 2011 When validating THIS site, (which I just posted,) I get four errors: The first two have to do with a GOOGLE tracking code the client had me put in and I don't know enough about it to do anything! The other two mystify me! they claim I am not using proper ASCII codes for a dash and an apostrophe. I am using NOTEPAD as an editor and saving it as ANSI. I tried to save it as UNICODE, but that screwed everything to a fare-thee-well! Any suggestions? Thanks! Alfie Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 7, 2011 Report Share Posted June 7, 2011 You are using the HTML doctype, which is right, but you have this line: <meta name="google-site-verification" content="Og-9rJxCUdyI-wMs83sgnjUznTKPMSiRW9m6-JJvLYU" /> which has the XHTML closing slash - just get change the end of this to ... JJvLYU"> The validator seems to have an issue with your dashes and the apostrophe - that sometimes happens with certain editors or certain fonts. Just replace the dash with — (do you even need a dash there? it seems somewhat out of place) and replace the apostrophe with whatever the & symbol for it is. (don't remember by heart)/ That should take care of things. Quote Link to comment Share on other sites More sharing options...
newseed Posted June 7, 2011 Report Share Posted June 7, 2011 (edited) The hyphen (or dash) and the apostrophe is caused by the copy/paste from another source. Apostrophe is a good example. If it's slanted then this it's not the proper character to use. It should be vertically straight. Just delete each one of those instances and retype it again (including the hyphen to). Of course if all else fails then go ahead and do what Andrea suggested....and correct character coding for apostrophe is ‘ Edited June 7, 2011 by Eddie Quote Link to comment Share on other sites More sharing options...
henrylayla Posted June 14, 2011 Report Share Posted June 14, 2011 You are using the HTML doctype, which is right, but you have this line: <meta name="google-site-verification" content="Og-9rJxCUdyI-wMs83sgnjUznTKPMSiRW9m6-JJvLYU" /> which has the XHTML closing slash - just get change the end of this to ... JJvLYU"> The validator seems to have an issue with your dashes and the apostrophe - that sometimes happens with certain editors or certain fonts. Just replace the dash with — (do you even need a dash there? it seems somewhat out of place) and replace the apostrophe with whatever the & symbol for it is. (don't remember by heart)/ That should take care of things. So it was because of slash and the HTML doctype that was causing the problem. OK that was new to me. Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 14, 2011 Report Share Posted June 14, 2011 So it was because of slash and the HTML doctype that was causing the problem. OK that was new to me. I wouldn't say it was the HTML doctype that was causing the problem - it was the improperly used XHTL-closed tag within an HTML doctypte that did it. I mean, if you fill up your Mustang with Diesel and it quits running, you can't really blame the car..... Quote Link to comment Share on other sites More sharing options...
henrylayla Posted June 15, 2011 Report Share Posted June 15, 2011 I wouldn't say it was the HTML doctype that was causing the problem - it was the improperly used XHTL-closed tag within an HTML doctypte that did it. I mean, if you fill up your Mustang with Diesel and it quits running, you can't really blame the car..... OK. Got it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.