Let's get started with a Web Page!
- Browse to your desktop (or thumbdrive)
- Click:
New Folder
- Name that folder:
public_html
- Double-click on your
public_html
folder to open it - Click:
New Folder
- Name that folder:
images
- Click:
New Folder
- Name that folder:
includes
- Search the web for an image file and save that image file to your
public_html\images
folder - Open Notepad++
- Choose:
File -> New
- Copy the Web Page Template (HTML) code (below)
- Paste that code into your new file
- Change: page title goes here
to: Your Name's Home Page - Change: put your name in this comment line
to: Your Name - In the
<h2>
tag, change: put-your-name-here
to: Your Name - Write a paragraph about yourself where it says: Put a paragraph here about yourself.
- Change:
<p><img src="images/put-the-name-of-your-image-file-here"
alt="put-a-description-of-your-image-here" width="200px" height="200px"><p>
to the name (case is important), description, and size of your image file - Click File -> Save as
- Save your file in your
bsc
folder as:index.html
- Change the
Save as Type
to:Hypertext Markup Language File (*.html, ...)
- Click the
Save
button - Click: Run
- Choose: Launch in IE
or Launch in Chrome
or Launch in Firefox - View your web page
- Make any changes
- Save your changes
- Choose:
Web Page Template (HTML)
<!doctype html>
<html>
<head>
<title>page title goes here</title>
<!-- Author: put your name in this comment line -->
<link href="includes/styles.css" rel="stylesheet"/>
</head>
<body>
<h2>Hello! My name is put-your-name-here!</h2>
<p>Put a paragraph here about yourself.</p>
<p><img src="images/put-the-name-of-your-image-file-here"
alt="put-a-description-of-your-image-here"
width="200px" height="200px"></p>
<h2>Labs</h2>
<ol>
<li><a href="index.html" title="Home Page">Create a Web Page</a></li>
<li>Add CSS to Your Home Page</li>
<li>Create a List Page</li>
<li>Create a Table Page</li>
<li>Create Site Navigation Page</li>
<li>Create a Divs Page</li>
<li>Create a Form Page</li>
<li>Create a Multimedia Page</li>
<li>Create a JavaScript Page</li>
<li>Modify Home Page to Use JavaScript Navigation Page</li>
<li>Use JavaScript to Validate a Form Page</li>
<li>Use JavaScript to Change CSS Styles Page</li>
</ol>
<hr/>
<p>This page was last modified on:
<script>document.write(document.lastModified);</script>.</p>
</body>
</html>