When both HTTP and HTTPS content are being loaded on a webpage over a secure HTTPS connection, browser will display warning about this type of mixed content to indicate to user that this page contains insecure resources.
|Browser showing insecure warning through HTTPS connection||Browser showing secure content through HTTPS connection|
To ensure the webpage content is secure through HTTPS connection, please use relative path in resources (include images, video, scripts).
For example, the absolute path "http://www.its.hku.hk" should be excluded from image source under the website:
Recommended to use relative path
<img src="/images/abc.jpg" >
Not recommended to use absolute path
<img src="http://www.its.hku.hk/images/abc.jpg" >