How to pass external link in laravel blade to anchor tag

Created at 18-Aug-2021 , By samar

How to pass external link in laravel blade to anchor tag

We will use programming in this lesson to attempt to solve the "How to pass external link in laravel blade to anchor tag".

There is an issue while passing the external link to the anchor tag in laravel blade. To solve the issue of how to pass an external link in laravel, you have to use http:// protocol which can be a problem in the blade file for the external links.
  • Pass external link to anchor tag in laravel

    <a href="{{ $anchorLink }}" target="_blank"> {{ $anchorLink }} </a>
    

Back to code snippet queries related laravel

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

Don't forget to share this article! Help us spread the word by clicking the share button below.

We appreciate your support and are committed to providing you valuable and informative content.

We are thankful for your never ending support.