4.4. The Anatomy of a Web Form

So far, you've spent most of your time working with the web page in design view. There's nothing wrong with that—after all, it makes it easy to quickly assemble a basic web page without requiring any HTML knowledge.

However, it probably won't be long before you dip into the source view. Some types of changes are easier to make when you are working directly with your markup. Finding the control you want on the design surface, selecting it, and editing the properties one at a time in the Properties window can be tedious.

The source view is often helpful when you want to add plain HTML content—after all, not everything in your web page needs to be a full-fledged web control. You can add ordinary HTML elements using ...

Get Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional, Second Edition 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.