Heim  >  Fragen und Antworten  >  Hauptteil

Warum kann ich das Bild nicht anzeigen?

<table border="1" align="center">

<tr>

<td width="325" height="155">

<img src="bd1.png " alt="百度"/>

</td>

<td width="480" height="320">

<img src="kz1.jpg" alt="裤子" />

</td>

</tr>

<tr>

<td width="704" height="535">

<img src="dq1. jpg" alt="电器"/>

</td>

<td width="667" height="438">

<img src="yf1.jpg" alt="衣服"/>

</td>

</tr>


</table>


李齐李齐2250 Tage vor1124

Antworte allen(1)Ich werde antworten

  • 李齐

    李齐2018-07-24 15:37:08

    本地路径的绝对路径放进来后就弄对了。之前是:同一个路径下直接放图片名没有用。但是网络上教程有这么做的,但是我暂时没有想起来为什么。

    <table border="1" align="center">

    <tr>

    <td width="325" height="155" background:"">

    <img src="D:\网站设计\html5设计\移动页码设计\bd1.png" alt="百度"/>

    </td>

    <td width="480" height="320">

    <img src="D:\网站设计\html5设计\移动页码设计\kz1.jpg" alt="裤子"/>

    </td>

    </tr>

    <tr>

    <td width="704" height="535">

    <img src="D:\网站设计\html5设计\移动页码设计\dq1.jpg" alt="电器"/>

    </td>

    <td width="667" height="438">

    <img src="D:\网站设计\html5设计\移动页码设计\yf1.jpg" alt="衣服"/>

    </td>

    </tr>


    </table>


    Antwort
    0
  • StornierenAntwort