javascript - 原子中的代码在html中显示不同的颜色
问题描述
我正在使用 HTML 和 PHP 构建一个网站。
只是尝试下面的示例代码:
<span align="justify"
class="lead"
style="color:red;">Our ability to address urgency makes us special</span></span>
<p align="justify"
class="mb-20">Being the most renowned <b>event organizers in Hyderabad</b>, we understand it well that mood to make
some party doesn’t come with prior notices. It is the enthusiasm that transforms into happiness through the party at
that moment. And, once that moment passes, the enthusiasm level doesn’t remain the same.
We at booktheparty.in thoroughly understand the sudden exuberance to party hard well. </p>
</div>
</div>
</div>
</div>
<div class="col-md-6 wow fadeInLeft"
data-wow-duration="1s"
data-wow-delay="0.6s">
<div class="pr-40">
<h3 class="text-uppercase title"> <br /> </h3>
<div class="row"
style="margin-top:-7px;">
<div class="col-sm-12 col-md-12 mb-sm-20 wow fadeInUp"
data-wow-duration="1s"
data-wow-delay="0.5s">
<br>
谁能告诉我可能出了什么问题还是没问题?
解决方案
对我来说,您似乎在某处缺少结束语。这是因为引号之间的所有内容都是橙色的,而对于正确的代码,橙色部分位于引号之前。
尝试向上滚动并查看它开始变绿的位置,这就是您缺少报价的地方。
推荐阅读
- python - Python 引用和可变性
- python - 使用垂直滚动条在 tkInter 窗口中查看 JSON 内容
- html - 如何在网格布局中产生响应间隙
- react-native - Live Reload 不会改变 React Native 中的样式组件
- c# - 使用 transform.Rotate() 和 transform.localEulerAngles() 进行 2 次旋转不起作用
- java - 如何从“不可修改”地图中删除空列表或空列表
- python - 我无法让我的 pygame 运行,希望雪花在使用地图的第 5 次迭代后发生变化
- ssl - Kubernetes 集群证书轮换
- arrays - 两个 3D 数组和一个 2D 矩阵的乘积
- julia - 如何解决集合中的“undefined var”错误?