“& nbsp;”的区别是什么?和“ &QUOT ;? [英] What's the difference between " " and " "?

查看:178
本文介绍了“& nbsp;”的区别是什么?和“ &QUOT ;?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其中一个是

/en.wikipedia.org/wiki/Non-breaking_spacerel =noreferrer>非破坏性空间,另一个是一个固定的空间。一个非破坏性的空间意味着该行不应该被包装在这一点上,就像它不会被包裹在一个词的中间。



此外,作为Svend在他的评论中指出,非破坏性空间不会崩溃。

Both of them mean space, but is there any difference?

解决方案

One is non-breaking space and the other is a regular space. A non-breaking space means that the line should not be wrapped at that point, just like it wouldn’t be wrapped in the middle of a word.

Furthermore as Svend points out in his comment, non-breaking spaces are not collapsed.

这篇关于“& nbsp;”的区别是什么?和“ &QUOT ;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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