html转义字符换行以及回车等的使用

html换行回车转义字符


 换行Line feed 

  回车Carriage Return 

html中换行转义字符
的使用

<div style="white-space: pre-line;" >阿瓦达所&#10;啊实打实  </div>

参考:https://developer.mozilla.org/zh-CN/docs/Web/CSS/white-space

html转义字符表:https://blog.csdn.net/tenfyguo/article/details/5918142

猜你喜欢

转载自www.cnblogs.com/wangzhichao/p/10251317.html
今日推荐