how to add background image in html


Post a Comment:





Showing 0 Comments:
Be the first to comment!

External ressources related to how to add background image in html

How to Add an Image & Background Image in HTML
https://blog.hubspot.com/website/insert-image-in-html

If you’d like to set an image as the background of a web page or an HTML element, rather than simply inserting the image onto the page, then you’ll need to use the CSS background-image property. This CSS property replaced the background image attribut

HTML Background Images - W3Schools
https://www.w3schools.com/htmL/html_images_background.asp

Background Image on a HTML element. To add a background image on an HTML element, use the HTML style attribute and the CSS background-image property: Example.

How to Set a Background Image in HTML - wikiHow
https://www.wikihow.com/Set-a-Background-Image-in-HTML

1. Upload the background image. 2. Open the HTML file. 3. Add the head of the HTMLdocument using the ' and ' tags. 4. Insert the and tags between the "Head" tags. 5. Add the body {element. 6. Add background-image: url(" "); inb