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

posted @ 2021-08-10 17:12  星空飘渺  阅读(5780)  评论(0编辑  收藏  举报