Web Forms is one of three programming patterns for creating ASP.NET websites and web applications.

The other two programming patterns are Web Pages and MVC (Model View Controller Model-View-Controller).

Web Forms is the oldest ASP.NET programming model and is an event-driven web page that integrates HTML, server controls, and server code.

Web Forms are compiled and executed on the server, and the server generates HTML to display as a web page.

Web Forms - HTML forms syntax

All server controls must appear within a <form> tag, which must contain the runat="server" attribute.

Web Forms - HTML forms example

<form runat="server">
...HTML + server controls
</form>