This question already has an answer here:
I was wondering if one is better off to have relative URL's for internal links vs absolute URL's?
<a href="aboutus.html">About us </a>
<a href="http://www.example.com/aboutus.html">About us </a>
Do search engines prefer any particular format?
Also are relative URL's helpful to ensure the website is secure particularly if you have gone in for SSL certification for the website?