asp.net4.5练习~test4-1

 webform1.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="test4_1.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Text="欢迎来到asp.net 4.5的世界" Font-Size="24" ForeColor="Red"></asp:Label><br />
        <asp:Label ID="Label2" runat="server" Text="欢迎来到asp.net 4.5的世界" Font-Size="21" ForeColor="Blue"></asp:Label><br />
        <asp:Label ID="Label3" runat="server" Text="欢迎来到asp.net 4.5的世界" Font-Size="18" ForeColor="#006600"></asp:Label><br />
        <asp:Label ID="Label4" runat="server" Text="欢迎来到asp.net 4.5的世界" Font-Size="15" ForeColor="#6600FF"></asp:Label><br />
        <asp:Label ID="Label5" runat="server" Text="欢迎来到asp.net 4.5的世界" Font-Size="12" ForeColor="#660033"></asp:Label><br />
        <asp:Label ID="Label6" runat="server" Text="欢迎来到asp.net 4.5的世界" Font-Size="9" ForeColor="#003366"></asp:Label><br />
        <asp:Label ID="Label7" runat="server" Text="欢迎来到asp.net 4.5的世界" Font-Size="6" ForeColor="#333300"></asp:Label><br />
    </div>
    </form>
</body>
</html>

猜你喜欢

转载自blog.csdn.net/modern358/article/details/113933277
今日推荐