title: Asp.net Core disable a tag in li
body: <p>In Asp.net Core Web Application, I have an html part below in View, I want to disable one of the  tag, but I failed to mark it work.<br>
  <code>&lt;ul class="nav navbar-nav"&gt;
     &lt;li &gt;&lt;a asp-area="" asp-controller="Home" asp-action="Index"&gt;Home&lt;/a&gt;&lt;/li&gt;
     &lt;li &gt;&lt;a asp-area="" asp-controller="Home" asp-action="About"&gt;About&lt;/a&gt;&lt;/li&gt;
     &lt;li &gt;&lt;a asp-area="" asp-controller="Home" asp-action="Contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;</code><br>
  The closest way, I found is <strong>class="disabled"</strong>.   </p>
  
  <pre><code>&lt;li class="disabled"&gt;&lt;a asp-area="" asp-controller="Home" asp-action="About"&gt;About&lt;/a&gt;&lt;/li&gt;  
  </code></pre>
  
  <p>But, the About still could be clicked.<br>
  In some similar thread which is suggest to use custom Authoring Tag Helpers, but it is not able to set the attribute by disable property. It is read-only.<br>
  Any help would be appreciated.</p>