html - Safe to use // over https:// or http:// -
on our website have secure , unsecure pages. should link images, css etc using full https:// or how safe link using // ?
example 1: <link href="https://www.domain.com/style.css" rel="stylesheet" type="text/css" /> example 2: <link href="//www.domain.com/style.css" rel="stylesheet" type="text/css" />
to ensure traffic encrypted, use https safe. can't hurt; can make traffic more secure.
Comments
Post a Comment