Designing Web Forms

Just as Visual Studio provides Windows Form Designer for developing Windows forms, it provides Web Forms Designer for crafting the visual aspect of a Web page. The Web Forms Designer provides two distinct views of each Web page you open. To switch between these views, click the Design or HTML tab at the bottom of the Web Forms Designer window.

  • Design view provides an editable what you see is what you get (WYSIWYG) view of the Web page. This is useful for arranging and formatting the visual elements of the page.

  • HTML view provides access to the HTML code and ASP.NET element declarations that make up the page, as well as any JavaScript code that will run on the Web visitor’s browser.

You can use HTML view for working with ASP.NET ...

Get Faster Smarter Beginning Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.