Chapter 1

Introduction to the Internet and Web Design

Chapter 1 Objectives

Read Chapter 1 and make sure you understand the following:

The Internet and Webpages

People and organizations create webpages to attract attention to information such as products, services, multimedia, news, and research.

Although webpages display content including text, drawings, photos, animations, videos, and links to other webpages, they are created as documents containing only text.

Introduction to HTML

Hypertext Markup Language (HTML) is used to create webpages.

HTML uses tags which consist of a start tag, content, and an end tag.

Creating a Basic Webpage

DOCTYPE Declaration

<!DOCTYPE> is the first line of HTML code for all HTML webpages.

All HTML5 webpages must begin with:

<!DOCTYPE html>

HTML Root Element

<html> and its closing tag </html> wrap all webpage content.

lang="en" is an attribute contained within the opening html tag and defines the language used (English).

Head Section

<head> and </head> contain information about the webpage.

The meta tag contains information about the data on the webpage.

UTF-8 is the standard for HTML5 pages and is the preferred encoding standard for email and other applications.

The encoding chosen is also important when validating a webpage.

Title and Body Tags

<title> and </title> appear inside the head section and display the page title in the browser tab.

<body> and </body> contain all visible webpage content.

Class Note

Day One we created a basic webpage, then we used GitHub.com to host and display the webpage in the Chrome browser.

Basic HTML Example

<!DOCTYPE html>
<html>
    <head>
        <title>Day1 | studentName</title>
    </head>
    <body>
        <h1>studentName first webpage</h1>
        <p>"Made it through day1"</p>
    </body>
</html>
  1. Open a text editor (VS Code)
  2. Add HTML tags (listed above)
  3. Add text
  4. Save the file with a .html extension
  5. Open the file in a web browser

Terms from Class

Types of Websites

Planning a Website

Four HTML Concepts

HTML Lists

Protocols Covered in Class

HTTP, FTP, TCP/IP, IP, DNS