IS"&放大器;#160;"更换的"&安培; NBSP;"? [英] Is " " a replacement of " "?

查看:126
本文介绍了IS"&放大器;#160;"更换的"&安培; NBSP;"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的ASP.NET应用程序中,我试图通过键入空格键两个文本框之间添加一些空格。等效HTML源代码是&放大器;#160; 而不是&放大器; NBSP; 。所以,我只是想检查:这是一个空白的新的替代?如果是的话,任何想法,为什么他们改变?

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?

推荐答案

&放大器; NBSP; 为字符实体引用。 &放大器;#160; 是数字实体引用。它们除了事实,后者不需要另一个查找表找到其实际值相同。

  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.

这篇关于IS"&放大器;#160;"更换的"&安培; NBSP;"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆