|
Posted by Andy Dingley on 12/27/06 14:36
Kim André Akerø wrote:
> Andrew wrote:
> > I have spent some time looking for a page with a list of common
> > escape entities for such things as ampersand, quotation marks etc.
> > Can anyone direct me to such a list?
There's only one place for the authoritative list, the W3C. Anything
else is merely a re-statement of this.
HTML
http://www.w3.org/TR/html4/sgml/entities.html
XHTML
http://www.w3.org/TR/xhtml1/#h-A2
I'd also post the regular reminder that you shouldn't use XHTML on the
web and that you mustn't use XHTML on the web unless you really
understand it.
> http://www.w3schools.com/tags/ref_entities.asp
Don't trust w3schools to be correct on anything particularly detailed.
> The entities are the same for XHTML as for HTML.
They're not, most obviously because of ' as it just didn't exist
in HTML. Yes, this means that you should use ' instead of '
when authoring Appendix C XHTML for the web.
Navigation:
[Reply to this message]
|