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

html换行回车转义字符

换行Line feed 
 回车Carriage Return 

html中换行转义字符 的使用

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

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

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

Published by

风君子

独自遨游何稽首 揭天掀地慰生平

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注