Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted (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 by Eddie
Posted

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.

Posted

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.....

Posted

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. :rolleyes:

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...