简体   繁体   English

img标签未显示图像

[英]img tag not showing image

I created a text file using notepad with the following content, and save it with a html extension. 我使用记事本创建了一个文本文件,其中包含以下内容,并使用html扩展名保存。 Then I open it in browser. 然后我在浏览器中打开它。 The image doesn't show. 图片未显示。 When I put the image URL in the browser the image shows up, so I know my link is correct. 当我将图像URL放在浏览器中时,图像就会显示出来,因此我知道我的链接是正确的。 What am I missing here? 我在这里想念什么? Thanks in advance for your answer. 预先感谢您的回答。

<!DOCTYPE html>
<html>
<body>

<p>Image doesn't show</p>

<img scr="https://www.findtaxpro.com/Content/img/logo.png" style="width:90px; height:90px;"/>

</body>
</html>
<img scr="https://www.findtaxpro.com/Content/img/logo.png" style="width:90px; height:90px;"/>

更正拼写

<img src="https://www.findtaxpro.com/Content/img/logo.png" style="width:90px; height:90px;"/>

you've incorrectly typed the src attribute. 您输入的src属性错误。

change this: 改变这个:

<img scr="https://www.findtaxpro.com/Content/img/logo.png" style="width:90px; height:90px;"/>

to this: 对此:

<img src="https://www.findtaxpro.com/Content/img/logo.png" style="width:90px; height:90px;"/>

 <!DOCTYPE html> <html> <body> <p>See Image below</p> <img src="//www.findtaxpro.com/Content/img/logo.png" style="width:90px; height:90px;"/> </body> </html> 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM