What is the difference between asp and asp.net?
"Classic" ASP uses vbscript for its code. ASP.NET allows you to use C#, VB.NET and other languages. ASP.NET gives you access to all the tools which come with the .NET framework and allows you to write object-oriented code.
They are too numerous to list here. I suggest you read ASP.NET compared with classic ASP Wikipedia.
--
Aside: My original answer referred to a resource on w3schools.com that is today no longer available. If you would like to access it, you may do so by utilizing the Wayback archive: ASP.NET vs ASP.
ASP.NET is not the same as ASP. The "old" ASP is now called classic ASP. ASP.NET is a Markup Language can, among other things, use the server controls to run elements.
As for example:
<form id="MyForm" runat="server">
Then you said that it will run on the server and you have an id to control it.
According to IndiaBIX's answers to ASP.NET interview questions:
The basic difference between ASP and ASP.NET is that ASP.NET is compiled whereas ASP is interpreted whereas. This implies that since ASP mainly uses VBScript, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses.NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language (MSIL).
Also see the section of the Wikipedia article that compares ASP.NET to ASP classic for a detailed comparison.
ASP is older (also called "classic ASP"). ASP.NET is newer, using the .NET framework.