In my ASP.NET application, I was trying to add few white spaces between two text boxes by typing space bar. The equivalent HTML source was  
instead of
. So I just wanted to check: is this the new replacement for white space? If yes, any idea why they changed?
views:
56answers:
3
+5
A:
is the character entity reference.  
is the numeric entity reference. They are the same except for the fact that the latter does not need another lookup table to find its actual value.
Ignacio Vazquez-Abrams
2010-07-18 04:32:20
Thanks. Any link you can provide for further reading?
Antoops
2010-07-18 04:35:26
http://www.w3.org/TR/html4/charset.html#h-5.3
Ignacio Vazquez-Abrams
2010-07-18 04:37:58
The other difference is that numeric references don't require a DTD.
dan04
2010-07-18 04:40:20
+2
A:
Those do both mean non-breaking space, yes.  
is another synonym, in hex.
Alex JL
2010-07-18 04:34:09