javascript - 在 2 个跨度之间添加一个空行
问题描述
我正在尝试在两个文本跨度之间添加一个空行
<span> The models have random values that I dont understand and it is not sufficenit but whatever </span>
{'\n'}
<span>Lots of text here </span>
{'\n'} 似乎不起作用。我还能尝试什么?
解决方案
<br/>
为此目的使用标签
<span> The models have random values that I dont understand and it is not
sufficenit but whatever </span>
<br />
<span>Lots of text here </span>
推荐阅读
- angular - Angular 4模板可变焦点
- c# - 如何使用 Firebase 统一创建 Facebook 登录?
- r - 避免在 R 中的 file.copy 中覆盖
- r - R回归分析:分析某个种族的数据
- sql - SQL groupby 具有不同的计数
- jquery - 具有多个拆分导航的 Bootstrap 4 Navbar 不会折叠
- tfs - 带有清单的 TFS(受保护)上的拉取请求
- azure-devops - VS Team Services - 构建任务 - 了解链接的工作项类型
- c# - 时间:2019-05-10 标签:c#return loop without using foreach
- ruby-on-rails - 使用 Active Record 方法“where”合并结果时出错