繁体   English   中英

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

[英]code in atom showing different color in 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> 

我们在编辑器中键入代码时的原始颜色如下图所示, 在此处输入图片说明

在一页显示中有所不同,我不知道出了什么问题 在此处输入图片说明

谁能告诉我什么地方可能出问题了吗?

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM