Jump to content

Validation errors


daddyalfie

Recommended Posts

I just validated the html of a website of mine and found a whopping 152 errors! After my jaw had stopped bouncing on the keyboard, :o, I discovered that almost all were due to "Nonstandard SMGL characters 147, 148, 133, etc. These were ordinary quotation or apostrophes within normal

paragraphs.

 

My doctype is as follows, and is something I just copy-paste as I don't really understand what the gobbeldygook means!

 

 

Is this a setting on my computer that generates improper characters?

 

I received the text from the client as Word documents, which I then copy-paste into notepad for HTML coding.

 

HepMe!

 

Alfie

Link to comment
Share on other sites

It sounds as if the Word characters for " and ' which carry special effects have not been "cleaned" by copying into Notepad.

 

I have also had situations where I have had to re-type them individually in Notepad to clean them.

 

I don't think the doctype has anything to do with the problem.

Edited by Wickham
Link to comment
Share on other sites

Yes, Word will do that to you every time. I always paste the content into Notepad prior and I always paste into the HTML view rather than Code view so I can catch the mistakes before it messes everything up. smile

 

Eh? "I always paste the content into Notepad prior "

 

Explaineth pleath :D

 

(Has to do with Dremweaver?)

 

Alfie

Edited by daddyalfie
Link to comment
Share on other sites

Eh? "I always paste the content into Notepad prior "

 

Explaineth pleath big_smile

 

Sorry. :D Prior to pasting the text into the program, I paste it into Notepad first and then copy it from there. This will strip out all the formatting from Word and make it plain text.

Link to comment
Share on other sites

Hmmm!

 

That is exactly what I have been doing, until recently!

 

The last couple of times I have taken the notepad version of the text, added the HTML coding and THEN pasting it all into the web page.

 

I also noted that I have charset=iso-8859-1 specified rather than utf-8 as TKG suggested.

 

Hmmmm!

Edited by daddyalfie
Link to comment
Share on other sites

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