+ 5
How should I put an HTML "<img>" in the background of the page?
7 Réponses
+ 2
<body background="URLHERE"></body>
+ 7
use the css background property on the body like this:
body {
background: url("https://www.flickeringmyth.com/?attachment_id=765481") 100% 100%;
}
+ 6
Will this work with the <h1> tag too Nomeh Uchenna Gabriel ?
https://code.sololearn.com/WGujej5QStjR/?ref=app
+ 6
at the background url it's not working Nomeh Uchenna Gabriel
+ 5
Use background-image: url('the url of the image'); instead of img
+ 3
Thanks Nomeh Uchenna Gabriel
+ 1
thanks jonas