Set up an HTML page that uses some tags that you know from Exercise 2.
Upload your page to the studentweb server.
Answer: Here is the HTML file that we
created in class:
<!DOCTYPE html>
<!-- Source code for Exercise 3 of Mar 30 Notes.
Source code file name: index.html -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>Sample Webpage</title>
</head>
<body>
<h1>Sample Webpage</h1>
<p>This is a sample webpage.<br>
This is the second line.</p>
<ol>
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
</body>
</html>
The directory structure on the studentweb server should look like this.
Indentation means subfolder.
public_html
it238
sample-page
index.html
This is the URL for accessing this file on studentweb if ssmith is your campusconnect username:
https://studentweb.cdm.depaul.edu/ssmith/it238/sample-page/index.html
What is the root node of an HTML page?
Answer: the html node defined by the
<html> and </html> tags.