2017-03-08 37 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

非常感谢你 –

相关问题