Do you avoid using ASP/ASP.NET tags in plain HTML?
  v1.0 Posted at 6/08/2016 4:53 AM by Tiago Araujo
ASP and ASP.NET tags have no place in plain HTML pages. They simply increase the size of the file and are ignored by browsers, because the need to be processed on the server. When converting ASP.NET pages to plain HTML you must be careful to remove all of these tags.​

​<%@ Page Language="C#" %>
<ssw:inctop id="inctop" runat="server"></ssw:inctop>

​​​​​Figure: Bad Example - ASP.NET tags accidentaly placed in a plain HTML documents

We have a program called SSW Code Auditor​ to check for this rule.

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: