How to pass external link in laravel blade to anchor tag

Updated 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