Best way to write internal link

Does website seo score changes the way writing internal links as:

<a href='http://example.com/def' title='abc'>Abc</a> 

or

<a hef='/def' title='abc'>Abc</a> 

I know that linking would be same but what to know the impact on SEO the internal link way there are written