2017-03-08 41 views
-1

我有麻煩讓圖像出現在網站上,我需要一些幫助。這是沒有CSS代碼的代碼。如果有人能幫我,我會很感激。繼承人鏈接到第一個圖像:https://images-na.ssl-images-amazon.com/images/G/01/img15/pet-products/small-tiles/30423_pets-products_january-site-flip_3-cathealth_short-tile_592x304.CB286975940.jpg。如果任何人都可以幫助我,我會非常感激。我需要一些幫助我的照片沒有顯示在這個網站上我正在拍

<!DOCTYPE html> 
<html> 
    <head> 
     <style> 

     </style> 
    </head> 
<body> 

    <h1> I thought the traditional way was a little boring so I made this. </h1> 
    <h2> I added some of your favorite things to this site. </h2> 
    <h3> </h3> 

    <img scr="Cats.jpg" style="width:592;height:304;"> 
    <br> 
    <br> 
    <img scr="P!ATD.jpg" style="width:400;height:400;"> 
    <br> 
    <br> 
    <img scr="MCR.jpg" style="width:450;height:450;"> 


    <p> Alexis </p> 
    <p> Would you give me the honor in taking you to prom??? </p> 
</body> 
</html> 

回答

0

你需要src屬性(不SCR,拼寫錯誤),你應該寬度/高度指定單位(像素可能px)。

<img scr="Cats.jpg" style="width:592;height:304;">

代替:

<img src="https://images-na.ssl-images-amazon.com/images/G/01/img15/pet-products/small-tiles/30423_pets-products_january-site-flip_3-cathealth_short-tile_592x304._CB286975940_.jpg" style="width:592px;height:304px;">

+0

非常感謝你 –

0

這應該是你的代碼:

<img scr="https://images-na.ssl-images-amazon.com/images/G/01/img15/pet-products/small-tiles/30423_pets-products_january-site-flip_3-cathealth_short-tile_592x304.CB286975940.jpg" style="width:592;height:304;"> 
+0

非常感謝你 –

0

使用

<img src="https://images-na.ssl-images-amazon.com/images/G/01/img15/pet-products/small-tiles/30423_pets-products_january-site-flip_3-cathealth_short-tile_592x304._CB286975940_.jpg" style="width:592px; height:304px;" /> 

對於第一個圖像

+0

非常感謝你 –

相關問題