Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In


Have an account? Sign In Now

Sign In


Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

You must login to ask a question.


Forgot Password?

Need An Account, Sign Up Here

You must login to add post.


Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Open your app
Sign InSign Up

Crextio.com

Crextio.com Logo Crextio.com Logo

Crextio.com Navigation

  • User Profile
  • Edit Profile
  • Pending Questions
  • Pending Posts
  • Messages
  • Asked Questions
  • Best Answers
  • Points
  • Activities
  • Post An Article
  • Create A Group
  • Log Out
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • Blog Post
  • New Group
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • All Groups
  • Tags
  • Badges
  • Users
  • Help
  • User Profile
  • Edit Profile
  • Pending Questions
  • Pending Posts
  • Messages
  • Asked Questions
  • Best Answers
  • Points
  • Activities
  • Post An Article
  • Create A Group
  • Log Out
Home/ Questions/Q 14538
Next
In Process

Crextio.com Latest Questions

Lara Ballard
  • 1
  • 1
Lara Ballard
Asked: March 5, 20212021-03-05T21:31:16+01:00 2021-03-05T21:31:16+01:00In: Programs

How do I use CSS to add a background picture in a HTML page?

  • 1
  • 1

I’m having difficulty adding a picture to my HTML background page. How do I go about it please?

2
  • 2 2 Answers
  • 146 Views
  • 0 Followers
  • 0
Share
  • Facebook

    Related Questions

    • What are today's Dordle answers?
    • 5 daily tasks you can automate with Microsoft Power Automate
    • DAFTAR SITUS JUDI SLOT GACOR TERBAIK ANTI KALAH MUDAH JACKPOT
    Leave an answer

    Leave an answer
    Cancel reply

    Browse
    Browse

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. Jamey Rico
      Jamey Rico New You
      2021-03-08T10:24:45+01:00Added an answer on March 8, 2021 at 10:24 am

      You can do that in any of the two ways below;
      First, start an http server and replace the link with the one you get from the local server. Typically something like localhost/images/image.png
2. Use file:///
      To add a picture to your background page; Basically right click to open a file in the browser, copy the link in the address bar and try to use that as the URL in a background image.

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. Glen Dayton
      Glen Dayton
      2021-03-09T12:38:04+01:00Added an answer on March 9, 2021 at 12:38 pm

      First, you should always make sure that your html page and images should be in the same folder.
      That is easy process to link pc images to html pages. Just give the image name(eg:- sun) and extension(eg : – .jpg, .png, .gif) in image tag.
      —If your html folder and image folder location is changed then you will give the full pc location.
      Suppose that your image location is in images folder of d: drive and your html is in desktop or anywhere in the pc: Then your img tag should look like this. ”Sun”

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Sidebar

    • The Evolution of Decentralized Finance (DeFi)
    • The Evolution of Decentralized Finance (DeFi)
    • Cortez Clothing Elevate Your Streetwear Game with Style
    • Cortez Clothing Elevate Your Streetwear Game with Style
    • Cortez Clothing Elevate Your Streetwear Game with Style

    Explore

    • Home
    • Blog Post
    • New Group
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • All Groups
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Crextio.com

    Crextio

    We go wherever the idea takes us

    About Us

    • Blog
    • About Us
    • Contact Us
    • All Groups

    Legal Information

    • FAQs
    • Terms and conditions
    • Cookie Policy
    • Privacy policy.

    Crextio Help Desk

    • Knowledge Base
    • Support
    • Disclaimer

    Follow

    © 2025 Crextio. All Rights Reserved