Html 什么是 ?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1459170/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 00:53:36  来源:igfitidea点击:

What is 
?

htmlentities

提问by blub

In html made by fckeditor i find the following character:

在 fckeditor 制作的 html 中,我找到了以下字符:



What is this character?

这是什么性格?

回答by Eric Minkes

Looks like the ASCII code for Carriage Return, encoded as an XML character reference.

看起来像回车的 ASCII 代码,编码为 XML 字符引用。

回答by Federico Hoerth

When you code in windows, and use "DOS/Windows" line endings, the your lines will end like this "\r\n". In some xhtml editors, that "\r" is illegal so te editor converts it to "&#13".

当您在 Windows 中编码并使用“DOS/Windows”行尾时,您的行将像这样“\r\n”结束。在某些 xhtml 编辑器中,“\r”是非法的,因此编辑器将其转换为“ ”。