Tag Helpers are a new feature of ASP.NET Core 2.0, which allow server-side code to be used when creating and rendering HTML elements. They can be compared to already existing and well-known HTML helpers for rendering HTML content.
ASP.NET Core 2.0 already provides many built-in Tag Helpers, such as ImageTagHelper and LabelTagHelper that you can use within your applications.
When creating your own Tag Helpers, you can target HTML elements based on an element name, an attribute name, or a parent tag. You can then use standard HTML tags in your views, while presentation logic written in C# is applied on the web server.
Additionally, you can even create custom tags as you will see in this section about creating a Gravatar tag. ...