【问题标题】:Bootstrap4 Image not displaying on screenBootstrap 4图像未显示在屏幕上
【发布时间】:2020-12-28 12:14:53
【问题描述】:

我正在尝试使用 img 标签上传图片。但即使正确链接图像,它也不会在屏幕上呈现 这是代码。

       <div class="row">
           <div class="col-6">
               <h2>MUSEUM OF CANDY</h2>
           </div>
           <div class="col-6">

<img class=" img-fluid" src="imgs/hand2.png" alt="handimage">
           </div>
       </div>
   </section>

【问题讨论】:

    标签: html image bootstrap-4


    【解决方案1】:

    您的源位置可能没有准确定义。请检查一遍。如果您的 alt 信息可见。那么您的问题出在源位置。

    【讨论】:

    • 位置是问题,我以为是hand2.png,但它是hands2.png
    【解决方案2】:

    类的开头有一个空格";也许这就是问题所在:)

    【讨论】:

      猜你喜欢
      • 2018-07-02
      • 2019-04-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-12-18
      • 1970-01-01
      相关资源
      最近更新 更多