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 无法解析文件';img.jpg';。智能思想_Html_Image_Intellij Idea - Fatal编程技术网

Html 无法解析文件';img.jpg';。智能思想

Html 无法解析文件';img.jpg';。智能思想,html,image,intellij-idea,Html,Image,Intellij Idea,看不到图像。如何修复错误? 无法解析文件“img.jpg”。 此检查检查HTML中未解析的文件引用,以查找在OpenT中使用属性样式的内联css 使用此代码: 如果使用内联样式定义背景图像,则其编写方式如下: <body style="background: url(img.jpg);"> 或者更具体地说,如果您只想更改背景图像,而不想取消设置所有其他背景属性: <body style="background-image: url(img.jpg);"> 查看并获

看不到图像。如何修复错误? 无法解析文件“img.jpg”。
此检查检查HTML中未解析的文件引用,以查找在OpenT中使用属性样式的内联css 使用此代码:


如果使用内联样式定义背景图像,则其编写方式如下:

<body style="background: url(img.jpg);">

或者更具体地说,如果您只想更改背景图像,而不想取消设置所有其他背景属性:

<body style="background-image: url(img.jpg);">

查看并获取项目中的.img.jpg文件在哪里?它应该位于您试图引用它的
index.html
旁边。