diff --git a/aspnetcore/mvc/views/tag-helpers/built-in/anchor-tag-helper.md b/aspnetcore/mvc/views/tag-helpers/built-in/anchor-tag-helper.md index fd227af4c6..68d9b21e41 100644 --- a/aspnetcore/mvc/views/tag-helpers/built-in/anchor-tag-helper.md +++ b/aspnetcore/mvc/views/tag-helpers/built-in/anchor-tag-helper.md @@ -284,6 +284,8 @@ The generated HTML: View Attendee ``` +If the referenced page doesn't exist, a link to the main page is generated. No warning is indicated. + ### asp-page-handler The [asp-page-handler](xref:Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper.PageHandler*) attribute is used with Razor Pages. It's intended for linking to specific page handlers.