W3Schools.com

ASP.NET Web Pages - Tutorial


ASP.NET

ASP.NET is a development framework for building web pages and web sites with HTML, CSS, JavaScript and server scripting.

ASP.NET supports three different development methods:
Web Pages, MVC (Model View Controller), and Web Forms.

This tutorial covers Web Pages.

Web Pages MVC Web Forms

ASP.NET Framework

Easy Learning with "Run Example"

Our "Run Example" tool makes it easy to learn Web Pages.

It runs examples and displays the ASP.NET code and the HTML output simultaneously.

Click on the "Run Example" button to see how it works:

Web Pages Example

<html>
<body>
     <h1>Hello Web Pages</h1>
     <p>The time is @DateTime.Now</p>
</body>
</html>

Run Example »


What is Web Pages?

Web Pages is the simplest programming model for developing ASP.NET web pages.

Web Pages provides an easy way to combine HTML, CSS, JavaScript and server code:

  • Easy to learn, understand, and use
  • Built around single web pages
  • Similar to PHP and Classic ASP
  • Top-to-bottom server execution
  • Server scripting with Visual Basic or C#
  • Full HTML, CSS, and JavaScript control

Web Pages are easy extendable with programmable Web Helpers, including database, video, graphics, social networking and much more.


Web Pages Tutorial

If you are new to ASP.NET, Web Pages is the perfect place to start.

In our Web Pages tutorial you will learn how to combine HTML, CSS, JavaScript and server code, using the latest Razor server markup syntax with Visual Basic or C# .

You will also learn how to extend your web pages with programmable Web Helpers.

Start learning ASP.NET Web Pages now!


Web Pages Examples

Learn by examples!

Because ASP.NET code is executed on the server, you cannot view the code in your browser. You will only see the output as plain HTML.

At W3Schools every example displays the hidden ASP.NET code. This makes it easier for you to understand how it works.

Web Pages Examples


Web Pages References

At the end of this tutorial you will find a complete set of ASP.NET references with objects, components, properties and methods.

Web Pages References



WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE