Give a background image in a div using css in HTML page, so set in the css class name background: url(‘img.jpg’); or you can set div background image or HTML body image directly using style tag. Show the example and try it
.div_bak_img{ background: url('images/my_img.jpg'); background-size:100% 100%; background-repeat:no-repeat; }
OR try it
style="background-image:url('uploads/my_img.jpg');"
Question and answer is powered by AnsPress.io