Jump to content

Background image


jennifer

Recommended Posts

Obviously I am a beginner. So, am I crazy or does the instructions for the background image just not work. I have done it as instructed about 20 times and the image does not carry over. Not even the placemark that sometimes comes over when a browser cant find it. Nothing comes over. What am I doing wrong?

Link to comment
Share on other sites

For background in html and css use 

background-image: url(" ");

You can use another properties like background-attachment, background-repeat, background-blend-mode etc along with this.

If there is still query then show me your code.

I hope it'll be helpfull.

Thanks!

 

Link to comment
Share on other sites

  • 4 weeks later...

You can check below program to change background image.

You can also use various properties for this tag.

<HTML>
  <HEAD>
    <TITLE>
      Here title of your website
    </TITLE>
    </HEAD>
    <BODY>
      background-image: url("image.jpg");
  </BODY>
  </HTML>

 

Link to comment
Share on other sites

Can you not go to w3schools.com as in 'schools' where you have tutorials, explanations of using the basics of CSS and LEARN how to do it yourself? So you will then learn why style tags, selectors,  are required and you don't end up with only 'background-image: url("image.jpg");' text on a page.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...