I want to know the difference between Web Page and web Form
Asked
Active
Viewed 2.0k times
3
-
1see- http://stackoverflow.com/questions/6150743/asp-net-web-forms-and-asp-net-web-pages – Yagzii Jan 27 '15 at 10:40
3 Answers
3
A web form produces a web page. Or many web pages. A web page is just a loose concept of a "document". A web form is a type of object which can produce web pages.

Andrew Barber
- 39,603
- 20
- 94
- 123
-
Adding to your answer, suppose you want your webform to have 3 webpages. How do you add new webpages to your webform in MS Visual Studio 2012. Thanks – Dec 03 '14 at 10:02
2
WebPage is a document / information resource that is rendered usually as HTML/XHTML on World Wide Web and is accessed through Web Browser.
Whereas, Web Form is a document where you can design and develop the Web Page, Web Form usually provides features which can enable a user to develop a Web Page.

Ebad Masood
- 2,389
- 28
- 46
1
<html>
<head>
<title>my web page</title>
</head>
<body>
<b>my web page. it does not have any html controls like textbox and button.</b>
</body>
</html>
<html>
<head>
<title>my web form</title>
</head>
<body>
<form action="mySecondPage.htm" method="post">
<b>my web form. it may contains html controls like textbox and button.</b>
<input type="text" id="txtUserName" /><br/>
<input type="submit" value="Submit User Name" />
</form>
</body>
</html>

Waqas Raja
- 10,802
- 4
- 33
- 38