图像没有出现在标题上方

时间:2013-07-17 04:42:50

标签: html image twitter-bootstrap

 <div class="container marketing">

 <!-- Three columns of text below the carousel -->
 <div class="row">
     <div class="span4">
         <img class="img-circle" img 
            src="../assets/img/examples/GPP-final-app-logo.png">
         <h2>Heading</h2>
         <p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. 
            Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo 
            risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo
            cursus magna, vel scelerisque nisl consectetur et.</p>
         <p><a class="btn" href="#">View details &raquo;</a></p>
     </div><!-- /.span4 -->

一切似乎都是正确的,但图像没有显示......我错过了什么?

2 个答案:

答案 0 :(得分:0)

您的图片代码中有额外的img。使用以下...

<img class="img-circle" src="../assets/img/examples/GPP-final-app-logo.png">

答案 1 :(得分:0)

看起来您的图像语法错误,请尝试将其更改为:

<img class="img-circle" src="../assets/img/examples/GPP-final-app-logo.png"/>