充斥着ahref标记的html
我正在为我的网站编写一个前端页面,它由CodeIgntier运行,但现在基本上只是视图文件中的HTML/CSS 我遇到的问题是,我有一个“通知”框,它在我所有的PHP编辑器中看起来都很好(我主要使用sublime text 2,但我在PHP eclipse和notpad++中检查我的代码是否有清晰的缩进),但是当我用浏览器打开它时,每个DIV上面都有一个a/a,每个注释都用一个 我在谷歌上搜索“HTML淹没了ahref”,它刚刚带来了飓风桑迪造成的纽约洪水的新闻,这对我很有帮助 我已经将社交媒体连接到HTML,但我删除了它,标签仍然保留在那里 我有诺顿的谷歌chrome扩展,还有我的指纹扫描仪,我禁用了它们,没有任何帮助 除了拉入jquery源代码的src=“jquery.js”之外,我从页面中删除了所有jquery 我甚至还尝试重命名所有通知类名,但没有任何帮助 请帮忙!以下是一些源代码:充斥着ahref标记的html,html,Html,我正在为我的网站编写一个前端页面,它由CodeIgntier运行,但现在基本上只是视图文件中的HTML/CSS 我遇到的问题是,我有一个“通知”框,它在我所有的PHP编辑器中看起来都很好(我主要使用sublime text 2,但我在PHP eclipse和notpad++中检查我的代码是否有清晰的缩进),但是当我用浏览器打开它时,每个DIV上面都有一个a/a,每个注释都用一个 我在谷歌上搜索“HTML淹没了ahref”,它刚刚带来了飓风桑迪造成的纽约洪水的新闻,这对我很有帮助 我已经将社交媒体
<div class="notifications">
<a href="#">Notifications <span class="notify-number">2</span></a>
<div class="notifications-container">
<div class='notification'>
<div class='notification-left'><img src="<?php echo base_url(); ?>misc/image/uploads-user.-pics-sample.-pic1.png/40/40"></div>
<!-- End notification Left -->
<div class='notification-right' id="blah">Your friend <span>Alex</span> changed their profile picture.</div>
<!-- End notification right -->
<div class='notification-close'><a href="#">X<a></div>
<!-- End Notification Close -->
<div class="spacer"></div>
</div>
<!-- End Notification -->
<div class='notification'>
<div class='notification-left'><img src="<?php echo base_url(); ?>misc/image/images-icons-calendar.png/40/40"></div>
<!-- End notification Left -->
<div class='notification-right'>"2012 Ending Giveaway" is ending in a day or less! <a href="#">Check it out here!</a></div>
<!-- End notification right -->
<div class='notification-close'><a href="#">X<a></div>
<!-- End Notification Close -->
<div class="spacer"></div>
</div>
<!-- End Notification -->
<div class='notification'>
<div class='notification-left'><img src="<?php echo base_url(); ?>misc/image/images-icons-document.png/40/40"></div>
<!-- End notification Left -->
<div class='notification-right'>There are new tutorials for you to view! <a href="#">Check here to view tutorials!</a></div>
<!-- End notification right -->
<div class='notification-close'><a href="#">X<a></div>
<!-- End Notification Close -->
<div class="spacer"></div>
</div>
<!-- End Notification -->
<div class='notification'>
<div class='notification-left'><img src="<?php echo base_url(); ?>misc/image/images-icons-video.png/40/40"></div>
<!-- End notification Left -->
<div class='notification-right'>There is new videos for you to view! <a href="#">Check here to view videos!</a></div>
<!-- End notification right -->
<div class='notification-close'><a href="#">X<a></div>
<!-- End Notification Close -->
<div class="spacer"></div>
</div>
<!-- End Notification -->
<div class='notification'>
<div class='notification-left'><img src="<?php echo base_url(); ?>misc/image/images-icons-video.png/40/40"></div>
<!-- End notification Left -->
<div class='notification-right'>Your friend <span>Izikea</span> added a new video! <a href="#">Check here to see it!</a></div>
<!-- End notification right -->
<div class='notification-close'><a href="#">X<a></div>
<!-- End Notification Close -->
<div class="spacer"></div>
</div>
<!-- End Notification -->
<div class='notification'>
<div class='notification-left'><img src="<?php echo base_url(); ?>misc/image/images-icons-document.png/40/40"></div>
<!-- End notification Left -->
<div class='notification-right'>Your friend <span>Izikea</span> added a new tutorial <a href="#">Check here to see it!!</a></div>
<!-- End notification right -->
<div class='notification-close'><a href="#">X<a></div>
<!-- End Notification Close -->
<div class="spacer"></div>
</div>
<!-- End Notification -->
<div class='notification'>
<div class='notification-left'><img src="<?php echo base_url(); ?>misc/image/images-icons-post.-wall.png/40/40"></div>
<!-- End notification Left -->
<div class='notification-right'>Your friend <span>Izikea</span> posted on your wall <a href="#">Check here to see it!!</a></div>
<!-- End notification right -->
<div class='notification-close'><a href="#">X<a></div>
<!-- End Notification Close -->
<div class="spacer"></div>
</div>
<!-- End Notification -->
</div>
<!-- End Notifications Container -->
</div>
<!-- End Notifications -->
杂项/图像/上载用户。-pics示例。-pic1.png/40/40“>
你的朋友Alex更改了他们的个人资料图片。
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=“//platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}(文档,“脚本”,“twitter wjs”);
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=”https://platform.twitter.com/widgets.js“fjs.parentNode.insertBefore(js,fjs);}}(文档,“脚本”,“twitterwjs”);
(功能(){
var po=document.createElement('script');po.type='text/javascript';po.async=true;
po.src=https://apis.google.com/js/plusone.js';
var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(po,s);
})();
如果你需要更多,请告诉我
谢谢,
David结束标记错误
<a href="#">X<a>
应该有结束标记,而不是在末尾打开。
检查其他人。我至少看到3个。错误的结束标记
<a href="#">X<a>
应该有结束标记,而不是在末尾打开。
检查其他人。我至少看到了3个。谢谢!!这是一个错误。我刚切换到升华文本,它不会自动完成结束标记,除非我在自动完成列表打开时点击tab。非常感谢!谢谢!!这是一个错误。我刚切换到升华文本,它不会自动完成结束标记,除非我在打开时点击tab自动完成列表已打开。非常感谢!
<a href="#">X</a>