Home  >  Article  >  Backend Development  >  如何在php文件中添加背景图片

如何在php文件中添加背景图片

WBOY
WBOYOriginal
2016-06-13 10:12:031931browse

怎么在php文件中添加背景图片
我在html文件中添加php,可是浏览器中不能显示关于背景的效果(用css也不行,或许我不会弄)

------解决方案--------------------
查看img的src是否能正确读取到bgimage。

HTML code
<div>  <img  src="path/img/01.jpg" alt="如何在php文件中添加背景图片" >  <p   style="max-width:90%"path/img/01.jpg') no-repeat;">background-image</p>
</div><div class="clear">
                 
              
              
        
            </div>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn