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 7817147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:08:11+00:00 2026-06-02T06:08:11+00:00

Lately I’ve noticed that a lot of web programming frameworks are using a //

  • 0

Lately I’ve noticed that a lot of web programming frameworks are using a // in front of certain generated href and src links

//example from twitter.com
<a href="//support.twitter.com">Help</a>

Is this just a shortcut for http/https, or something more?

Does anyone know where this technique got its start and if there’s a browser support matrix that confirms/describes the behavior of the leading //?

  • 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-02T06:08:14+00:00Added an answer on June 2, 2026 at 6:08 am

    It’s protocol-relative URL best described by Paul Irish; http://paulirish.com/2010/the-protocol-relative-url/

    Basically if you use protocol relative URL’s (links that start with “//” instead of “http://” or “https://”) you can avoid the “This Page Contains Both Secure and Non-Secure Items” pop-up in Internet Explorer (and possibly on other browsers as well). You can use that in .css files, too, simply by changing “http://” or “https://” to “//”.

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

Sidebar

Related Questions

Lately, when using my TCP/IP Server and Client, I has noticed that they both
Lately all modern programming languages have a definitive web site to support, distribute, learn
lately I have been writing a lot of tiny plugins for my web projects
Lately, I've come across a lot of Java code that relies on properties files
Lately I have installed Windows Phone 7 developement tools and noticed that VS2010 unable
Lately I've been favoring using named pipes (option --enable-named-pipes) in MySQL running on windows,
Lately, I have taken to the pattern of having a lot of diagnostic logging
Lately I've been thinking a lot about building a website/blog/community oriented site. However I
lately I am more a user of the Scala Programming Language than C++, And
Lately I had an issue with an array that contained some hundred thousands of

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.