Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/image/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在html中显示图像?_Html_Image - Fatal编程技术网

如何在html中显示图像?

如何在html中显示图像?,html,image,Html,Image,我试着按标签显示图像,图像的位置与保存html文件的目录相同,但它仍然只显示可选名称Alt,而不是图像 这是我的密码: <!DocTYPE html> <html> <head> <title> My link Page</title> </head> <body> <H1>The link is below </h1></br

我试着按标签显示图像,图像的位置与保存html文件的目录相同,但它仍然只显示可选名称Alt,而不是图像

这是我的密码:

<!DocTYPE html>
<html>
    <head>
        <title> My link Page</title>
    </head>
    <body>
        <H1>The link is below </h1></br>
        <a href="google.com">Google</a>;
        <img alt = "bittu" scr = "v.jpg" / >
    </body>
</html>

如果属性名称中有输入错误,则图像链接位于属性src而非scr中:


如果属性名称中有输入错误,则图像链接位于属性src而非scr中:


你能告诉我们你试过什么吗?把你的代码贴出来。我的链接页面图片在下面,你能告诉我们你尝试了什么吗?发布你的代码。我的链接页面图片如下
<img alt = "bittu" src = "v.jpg" / > <!-- SRC -->