X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ASP Classic - Creating a Website


ASP Demo.   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 Index.asp.

Put the following content inside the file:

Index.asp

<!DOCTYPE html>

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

<body>
  <h1>Welcome to Our Company</h1>
  <h2>Web Site Main Ingredients</h2>
  <p>A Home Page (Index.asp)</p>
  <p>A Style Sheet (Site.css)</p>
  <p>Include files (Header, Footer)</p>
  <p>Live data (from a database)</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>

Run example »

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.



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook