I'd like to add that a URL that begins with "//" can be well-formed. For example,
//example.com/somepage.html
is a link to /somepage.html on the host example.com *in the same protocol*. That is, on
https://example.org/index.html
the link would go to
https://example.com/somepage.html
instead of the http:// variant.
I'd like to add that a URL that begins with "//" can be well-formed. For example,
//example. com/somepage. html
is a link to /somepage.html on the host example.com *in the same protocol*. That is, on
https:/ /example. org/index. html
the link would go to
https:/ /example. com/somepage. html
instead of the http:// variant.