Jump to content
Stef's Coding Community
daddyalfie

Quotqtions, Apostrophes And Amperands. Oh My!

Recommended Posts

NOTE! As I posted this, Eddie pretty much answered my question in my original post! I could not figure out how to delete this, so I'll let it stand for now to see if there are other brilliant solutions out there!

 

Andrea recently pointed out the errors of my ways in that use of regular quotation marks (") should be rendered as " when used as part of a sentence (As opposed to part of HTML coding.) By studying W3C I found that ", ', &, <, and > are "reserved characters" in HTML, so of course Andrea is, as usual, correct!

 

This caused a single page on one of my web-sites to cough up 151 errors in an HTML validator!

 

I then tried to go back to the original .txt document from my customer from which I coded the HTML tags in NOTEPAD, and tried to do a find-and-replace routine. Didn't work in NOTEPAD, but did work in MS Word!

 

Most of the pages in this "Magazine" are loaded with quotation marks!

 

How do you handle this conundrum?

 

Thanks! Alfie

Edited by daddyalfie

Share this post


Link to post
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...