The topics in this section describe the markup syntax that you can use to declaratively create ASP.NET pages or user controls, which are text files that have .aspx or .ascx file name extensions, respectively.
An ASP.NET page is defined as a file in a Web application with an .aspx file name extension with an HTML form element that specifies runat="server". You can optionally specify an @ Page directive or other directive (as appropriate to the type of page that you are creating), one or more Web server controls, and server code.
The following example shows a basic ASP.NET page.
<%@ Page Language="VB" %>
<html>
<body>
<form runat="server">
</form>
</body>
</html>