Introduction to HTML
Lesson 2
HTML Document Basic Structure
What is HTML?
What is a Web Page?
In This Lesson
What is a Web Page?
What is the World Wide Web?
The World Wide Web, or Web, consists of a world
wide collection of electronic documents.
These electronic documents are called web pages.
What is a Web Page?
A web page is an electronic document
that may contain text, images, sounds,
video and hyperlinks.
What is HTML?
What is HTML?
HTML is the primary language used to create
web pages.
HTML provides commands that will allow you to
create links between the web pages.
It stands for HyperText Markup Language.
What is Mark-up?
Mark-up is the process of inserting formatting
instructions to the document.
What are HTML Commands?
HTML commands, also known as HTML tags, are
enclosed in angle brackets.
<command>
Happy D Workshop
<center> </center>
Opening tag Closing tag
What are Attributes?
Attributes are modifiers that are placed inside the
opening tag of an HTML command.
<p = >
align “center”
Attribute
name
Attribute
value
Types of HTML commands
•Container tag – a tag that requires an end tag and
usually comes in pairs.
•Empty tag – a tag that does not have an end tag or
a command.
HTML Document Basic Structure
HTML Document Basic Structure
<html>
<head>
<title>Title of the page</title>
</head>
<body>
Content of the page
</body>
</html>
Code: sample.html
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
What is the Internet?
The word Internet comes from the term
internetwork, which means, “to communicate
between networks”…
</body>
</html>
Output: sample.html
Answer the activity on
page 10.
Test Your Knowledge
Do the activity on
page 11.
Activity Time
Output: activity.html

WPJS-Lesson02-Presentation.pptx