You are here: Re: Entity Name or Entity Number? « HTML « IT news, forums, messages
Re: Entity Name or Entity Number?

Posted by Jukka K. Korpela on 02/24/07 21:38

Scripsit Samuel van Laere:

> Does it matter if one uses Entity Names or Entity Numbers?
> Both seems to work fine either way, but perhaps i'm mistaking.

There are no entity numbers, though even the W3C uses sloppy (wrong) terms.
The question is whether you should use entity references (for predefined
entities) or character references. See
http://www.cs.tut.fi/~jkorpela/chars/ref.html

The short answer is that for ISO Latin 1 characters it does not matter, and
for other characters there is a little wider support to character
references.

What matters is that you should use the trailing semicolon ";", even though
SGML rules don't always require it. IE 7 incorrectly fails to recognize e.g.
&Omega without the semicolon.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация