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

  • SEARCH
  • Home
  • 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 3945586
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:02:01+00:00 2026-05-20T01:02:01+00:00

I saw the //somepage.com/resource url format. For example: <img src=//remotesite.com/image1.jpg /> The point of

  • 0

I saw the //somepage.com/resource url format. For example:

<img src="//remotesite.com/image1.jpg" />

The point of this is that if the current page (the page defining the img tag) is using http, then the request to the remote site is made via http. If it is https – it’s https. This eliminates browser warnings of not fully encrypted pages.

My question is – is this URL format safe to use for all browsers. And is it a standard?

  • 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-05-20T01:02:01+00:00Added an answer on May 20, 2026 at 1:02 am

    is this URL format safe to use for all
    browsers.

    I can’t say anything for sure, but you should be able to test it in different browsers.

    And is it a standard?

    Technically, it is called "network-path reference" according to RFC 3986. Here is the scheme for it:

      relative-ref  = relative-part [ "?" query ] [ "#" fragment ]
    
      relative-part = "//" authority path-abempty
                    / path-absolute
                    / path-noscheme
                    / path-empty
    

    There is a problem though, when used on a <link> or @import, IE7 and IE8 download the file.

    Here is a post written by Paul Irish on the subject:

    • The protocol-relative URL
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw this article on msdn with the example http://msdn.microsoft.com/en-us/library/xfhwa508.aspx So i decided to
I saw this same question for VIM and it has been something that I
I saw this interview question recently for a firm that said: Group of people,
I saw an example that try to explain inheritance in Java. The class Employee,
Saw this example on the jQuery examples page for Ajax: var xmlDocument = [create
I saw this in the Mac App Store guidelines: 2.16: Apps that download or
Saw that in some example codes, but ive never used it, unless im dynamically
Saw this www.workatplay.com/ website, and got fascinated on how simple and nice stuff can
I saw this in a part that never gets called in a coworker's code:
I saw this problem: Given a binary search tree and a number, find a

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.