HTML
h1 Dasmoto’s Arts & Crafts h1
CSS
h1 {
background-image: “resources\css\images\image1.jpeg” ;
text-align: center;
font-size: 100px;
color: khaki;
}
I am trying to create the banner that is shown in the link above. I copied the images from the internet and created relative paths. Image1 will not show up on my web page if I try to produce it from my CSS file. If I paste Image1 into my HTML file then I get that image on to my web page, but I don’t know how to get “Dasmoto’s Arts & Crafts” into the image. I inspected the actual webpage and if I copy the url of the image into my CSS then the image does show up on my webpage, but I don’t want to cheat.
- How do I get the text into the image? 2. Why does the image not show up on my webpage from the CSS file? Thank you