I dont think this is something that is server sided or recognized by the serverside?
you would wanna do it like this
for the routes serversided would be like this
http://localhost/mypage?tab=media
http://localhost/mypage?tab=description
@if (request()->tab == "media")
my media
@elseif (request()->tab == "description")
my description
@else
my default page!
@endif
this is definitely something that would be better handled by javascript in your case
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<!--body stuff -->
<script>
var hash = window.location.hash;
$('div'+hash+':first').show();
</script>