Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 49c1f52292
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (16 sloc) 0.719 kb
<html>
<body>
<h3><font face="Verdana">Declaring Server Controls</font></h3>
This sample demonstrates how to declare the &lt;asp:label&gt; server control and
manipulate its properties within a page.
<p>
<hr>
<form runat=server>
<asp:label id="Message1" font-size="16" font-bold="true" forecolor="red" runat=server>This is Message One</asp:label>
<br>
<asp:label id="Message2" font-size="20" font-italic="true" forecolor="blue" runat=server>This is Message Two</asp:label>
<br>
<asp:label id="Message3" font-size="24" font-underline="true" forecolor="green" runat=server>This is Message Three</asp:label>
</form>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.