<%@ Page Language="vb" %> <html> <head> <title>Server property example</title> <script runat="server"> Sub Page_Load() Message.Text = Server.HtmlEncode("<em>Hello, World!</em>") End Sub </script> </head> <body> <asp:label id="Message" runat="server"/> </body> </html>