I don't think this is right. It depends what language and character set you
have specified the document to be in. If the character is included in the
character set, there is no need to use the special code... provided the
browser can read that character set...

Jason

On Wed, Jun 18, 2008 at 8:25 AM, Matthew Holloway <[EMAIL PROTECTED]>
wrote:

> kevin_erickson wrote:
> > Hello,
> > I am looking for advice on if the best way to code for special characters
> is to use the actual character or the attribute value or the alt code?
> > i.e. for the ampersand should one use & or &amp;? Does it matter? I know
> that Dreamweaver automates some of this but what is the best practice?
> >
>
> You're always supposed to encode & as &amp; (even in hrefs) and that's
> what standards compliance requires.
>
> (I use XHTML and I also want to be parseable as XML so aside from XMLs
> inbuilt entities of &lt; &gt; &amp; &quot; and &apos; I tend to use
> NCRs...).
>
> --
> .Matthew Holloway
> http://holloway.co.nz/
>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> *******************************************************************
>
>


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to