[Solved] Is “ ” a replacement of “ ”?

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?

Enquirer: Antoops


Solution #1:

  •   is the character entity reference (meant to be easily parseable by humans).
  •   is the numeric entity reference (meant to be easily parseable by machines).

They are the same except for the fact that the latter does not need another lookup table to find its actual value. The lookup table is called a DTD, by the way.

You can read more about character entity references in the offical W3C documents.

Solution #2:

Those do both mean non-breaking space, yes.   is another synonym, in hex.

Respondent: JAL

Solution #3:

  is the numeric reference for the entity reference   — they are the exact same thing. It’s likely your editor is simply inserting the numberic reference instead of the named one.

See the Wikipedia page for the non-breaking space.

Respondent: josh3736

The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Most Popular

To Top
India and Pakistan’s steroid-soaked rhetoric over Kashmir will come back to haunt them both clenbuterol australia bossier man pleads guilty for leadership role in anabolic steriod distribution conspiracy