When you design custom tag Helper then you need to change the name of attribute. I mean to say that need to override the name of attribute. In C#, You can use annotation or you can say property. In square bracket simply type HtmlAttributeName property just before the class property. You can check the video , if you want to do this