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 - Button control syntax

The Button control is used to display a push button.

Web Forms - Button control example

<html>
<body>
<form runat="server">
<asp:Button id="b1" Text="Submit" runat="server" />
</form>
</body>
</html>