The requested page is not available for the requested platform. You are viewing the content for Default platform.

Remove End Tag (ASP.NET)

Converts a container tag to a self-closing tag.

Availability

Available from the context menu or via shortcuts:

  • when the cursor is on a container tag, provided that the closing tag immediately follows the opening tag.

Examples

<asp:Label CssClass="labelClass" id="label" runat="server"></asp:Label>

Result:

<asp:Label CssClass="labelClass" id="label" runat="server" />

Screenshot

rsRemoveEndTag