Ask coding questions

← Back to all posts
what should i add?
cacaheadisme22 (0)

all i have is a sentence which i need to put a image as the background too.

Comments
hotnewtop
Bookie0 (6258)

To add an image as background in HTML, check this out.

Basically, you can do this:

body {
  background-image: url('link to image here');
}

This might cause the image to repeat, in that case you can add background-repeat: no-repeat; in the CSS.

Also in response to your question 'what should i add?', you could add more pages, images, colors, more styles, etc. Tell us about yourself, your projects what you like to do, etc.

It seems that the page is about John Lennon, so you can write about his life, songs, biography, and can also include images of him.

Good luck! :)