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 &? Does it matter? I know that > Dreamweaver automates some of this but what is the best practice? >
You're always supposed to encode & as & (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 < > & " and ' 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] *******************************************************************
