从bootstrap站点打开到facebook和linkedin的链接

时间:2016-09-23 20:41:50

标签: twitter-bootstrap

第一次尝试引导程序。我有2个社交图标,facebook和linkedin。我想在点击图标时转到这些页面但是当我点击它们时,它们会打开我网站的索引页面而不是facebook或linkedin。

   <div class="navbar navbar-inverse navbar-fixed-bottom"  role="navigation">
    <div class="container">
      <div class="navbar-text pull-left">
                 <p>Copyright &copy; Name 2016</p> 
        </div>
         <div class="navbar-text pull-right">
              <a    href "http://www.linkedin.com/pub/Name/36/797/981/" target="_blank">
                <i class="fa fa-linkedin-square fa-2x"></i></a>
                 <a  href "https://www.facebook.com/pages/Name/868408657863139?sk=info&=page_info/" target="_blank">
                  <i class="fa fa-facebook-square fa-2x"></i></a>
        </div>
    </div>
</div>

1 个答案:

答案 0 :(得分:1)

你忘记了href sign&#39; =&#39; :))

<a href = "http://www.linkedin.com/pub/Name/36/797/981/" target="_blank">
    <i class="fa fa-linkedin-square fa-2x"></i>
</a>

它必须是工作