How to put '<' and '>' inside the textbutton text property (asp.net)?

How to put '<' and '>' inside text linkbutton property (asp.net)? I tried <asp:LinkButton runat="server" ID="lbEdit" Text="&lt;edit settings&gt;"></asp:LinkButton> , but then the link does not appear.

+4
source share
1 answer

Yes, it will display with the exact text <edit settings> , which the browser will consider with a different tag.

Try Text="&amp;lt;edit settings&amp;gt;"

+5
source

All Articles