webform1.aspx
来自「ASP.NET动态网站开发基础教程(C#)光盘素材的开发示例」· ASPX 代码 · 共 38 行
ASPX
38 行
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="Font.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<p></p>
字体大小:
<ASP:Label Id="Label7" Runat="Server" Font-Size="Smaller" Text="Smaller" />
<ASP:Label Id="Label8" Runat="Server" Font-Size="Larger" Text="Larger" />
<ASP:Label Id="Label9" Runat="Server" Font-Size="XX-Small" Text="XX-Small" />
<ASP:Label Id="Label10" Runat="Server" Font-Size="X-Small" Text="X-Small" />
<ASP:Label Id="Label11" Runat="Server" Font-Size="Small" Text="Small" />
<ASP:Label Id="Label12" Runat="Server" Font-Size="Medium" Text="Medium" />
<ASP:Label Id="Label13" Runat="Server" Font-Size="Large" Text="Large" />
<ASP:Label Id="Label14" Runat="Server" Font-Size="X-Large" Text="X-Large" />
<ASP:Label Id="Label6" Runat="Server" Font-Size="XX-Large" Text="XX-Large" />
<p></p>
字体:
<ASP:Label Id="Label15" Runat="Server" Font-Names="标楷体" Text="标楷体" />
<ASP:Label Id="Label3" Runat="Server" Font-Names="隶书" Text="隶书" />
<ASP:Label Id="Label16" Runat="Server" Font-Names="幼圆" Text="幼圆" />
<p></p>
字体式样:
<ASP:Label Id="Label1" Runat="Server" Font-Bold="True" Text="粗体" />
<ASP:Label Id="Label2" Runat="Server" Font-Italic="True" Text="斜体" />
<ASP:Label Id="Label4" Runat="Server" Font-Strikeout="True" Text="删除线" />
<ASP:Label Id="Label5" Runat="Server" Font-Underline="True" Text="底线" />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?