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

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

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

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7865005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:57:25+00:00 2026-06-02T23:57:25+00:00

I am a newbie with html so please excuse me if the question is

  • 0

I am a newbie with html so please excuse me if the question is dumb. I want to specify a path for an image (img src=…) relative to where my HTML resides. How would I do that. By default the relative path is considered relative to the base URL (base href=…)
I need it to work on both Chrome and IE on Windows

Before someone asks, obviously I need to set the base tag to some other location and hence am facing this issue.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:57:26+00:00Added an answer on June 2, 2026 at 11:57 pm

    Regrettably (or maybe not), there is no way to achieve this in pure HTML. Possible workarounds include either not using a relative path or using JavaScript to generate an absolute path.

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

Sidebar

Related Questions

Very newbie question. For instance, is this okay? <a href=allaboutpeanuts.html>Peanuts<img src=peanut.jpg> </a> I tried
Newbie question: There are three types of Asp.Net controls : HTML server controls, Web
Newbie question... The objective: I intend to have an HTML text input field as
XSLT newbie question: Please fill in the blank in the C# code fragment below:
A total newbie question, so please bear with me here ;) When a key
Please pardon the newbie question, but I'm stumped. I'm a teacher converting a Rails
i am a newbie for rails, please guide me. i want to validate file_field
please help me, i'm very newbie i have question about datatables (jquery plug in)
Ok, i'm a total newbie so please forgive me in advance. I want to
Please bear with me experts i'm a newbie in web dev. With html,css can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.