Hi

Quotes, ampersands, < , > and single quotes are reserved characters (entities).

Basically you should only use quotes within tags like <a
href="blah.php">foo</a>. If you want to avoid problems with badly
formed markup (XML for instance) then always use the entity version if
the character e.g
<a href="foo.php">&quot;bar&quot;</a>
An XML parser would barf on <a href="foo.php">"bar"</a> as the quote
char describes an attribute. This is "badly formed" markup.

Reading material...
http://www.w3.org/TR/REC-html40/charset.html

A simple search and replace will solve it for you

Cheers
James


On 5/17/05, designer <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> How much do I need to bother about quotation marks etc being represented as
> their 'proper' equivalent, eg ' as &#39, and so on?
> 
> I am working on an extract from a writer's work and as I've cut and pasted a
> lot of it, I've ended up with the horrific prospect of painstakingly going
> through and changing all the quotes, apostrophes, dashes etc etc. (the
> validator
> shouts at the moment!)
> 
> ??
> 
> Any help, utilities etc would be <strong>most</strong> welcome!
> 
> :-)
> 
> Thanks,
> 
> Bob McClelland,
> Cornwall (U.K.)
> www.gwelanmor-internet.co.uk
> 
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 
>
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to