Search w3schools.com:

SHARE THIS PAGE

ASP Classic - Creating a Website


Learn ASP Classic by building a web site from scratch.

Part I: Creating a Web Site.


Create a Website

Create an empty web site named DemoASP.

If you want to learn how to create an empty web site, please go to the chapter Web Empty Site.


Create a Home Page

In the "DemoASP" folder, create a new ASP file named Default.asp.

Put the following content inside the file:

Default.asp

<!DOCTYPE html>

<html>
<head>
  <title>ASP Demo</title>
</head>

<body>
  <h1>Welcome to W3Schools</h1>
  <h2>Web Site Main Ingredients</h2>
  <p>A Home Page (Default.asp)</p>
  <p>A Style Sheet (Site.css)</p>
  <p>Include files (Header.inc, Footer.inc)</p>
</body>

</html>

Run example »


Add an About Page

In the "DemoASP" folder, create a new ASP file named "About.asp".

Put the following code inside the file:

About.asp

<!DOCTYPE html>

<html>
<head>
  <title>About</title>
</head>

<body>
<h1>About Us</h1>
<p>Lorem Ipsum Porem Lorem Ipsum Porem</p>
</body>

</html>

The about file above contains a heading and a paragraph. Please feel free to edit the content.

In the next chapters of this demo, we will add a style sheet to the web site, then we will add a database, and finally we will add navigation.




W3Schools Certification

W3Schools' Online Certification

The perfect solution for professionals who need to balance work, family, and career building.

More than 10 000 certificates already issued!

Get Your Certificate »

The HTML Certificate documents your knowledge of HTML.

The HTML5 Certificate documents your knowledge of advanced HTML5.

The CSS Certificate documents your knowledge of advanced CSS.

The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.

The jQuery Certificate documents your knowledge of jQuery.

The XML Certificate documents your knowledge of XML, XML DOM and XSLT.

The ASP Certificate documents your knowledge of ASP, SQL, and ADO.

The PHP Certificate documents your knowledge of PHP and SQL (MySQL).

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]