原子中的代码在html中显示不同的颜色

时间:2019-05-14 10:12:36

标签: javascript php 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">&nbsp;<br />&nbsp;</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>

在编辑器中键入代码时的原始颜色如下图所示, enter image description here

一页显示不同,我不知道出了什么问题 enter image description here

有人可以告诉我什么地方可能出问题或没事吗?

1 个答案:

答案 0 :(得分:2)

在我看来,您似乎在某个地方缺少引号。这是因为引号之间的所有内容都是橙色的,与正确的代码一样,橙色部分位于引号之前。

尝试向后滚动,看看它开始变成绿色的地方,那是您缺少报价的地方。