Home  >  Q&A  >  body text

Why can't I display the image?

<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 days ago1123

reply all(1)I'll reply

  • 李齐

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

    After putting the absolute path of the local path in, it will be correct. Before: it was useless to put the picture name directly in the same path. But there are tutorials on the Internet that do this, but I haven’t remembered why yet.

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

    <tr>

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

    <img src="D:\Website Design\html5 Design\Mobile Page Design\bd1.png" alt="Baidu"/>

    </td>

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

    <img src="D:\Website Design\html5 Design\Mobile Page design\kz1.jpg" alt="Pants"/>

    </td>

    </tr>

    <tr>

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

    <img src="D:\Website Design\html5 Design\Mobile Page Design\dq1.jpg" alt=" Electrical appliances"/>

    </td>

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

    <img src="D :\Website Design\html5 Design\Mobile Page Design\yf1.jpg" alt="Clothes"/>

    </td>

    </tr>


    </table>


    reply
    0
  • Cancelreply