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

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -