© Eduschemes Limited 2013. All rights reserved.
How Do Web Pages Work?
Lesson 1
Activity 2
Web programming
© Eduschemes Limited 2013. All rights reserved.
You will
:
:
•
Learn about HTML.
•
Know how browsers work.
Lesson 1
Activity 2
Web programming
© Eduschemes Limited 2013. All rights reserved.
What is HTML?
Lesson 1
Activity 2
Web programming
Browsers convert code
like this into a
webpage.
© Eduschemes Limited 2013. All rights reserved.
What is a browser?
An application that allows web pages to be
viewed.
Where do you find browsers?
Lesson 1
Activity 2
Web programming
Can you name any browsers?
© Eduschemes Limited 2013. All rights reserved.
Can you guess what the following HTML
does?
Lesson 1
Activity 2
Web programming
<h1>
My
Web Page
</h1>
This is the code to create a heading.
<p>
I
enjoy making web pages.
</p>
This is the code to make a paragraph of text.
© Eduschemes Limited 2013. All rights reserved.
Tags
Lesson 1
Activity 2
Web programming
<head>
All of these are called
tags
.
</h2>
<h2>
<p>
<h1>
<p>
</p>
This will appear on the webpage.
This is an
opening tag.
This is a
closing tag.
The text in the
middle appears
on the web
page.
© Eduschemes Limited 2013. All rights reserved.
Minimum Code
For a website to run properly it must have the following
code:
Lesson 1
Activity 2
Web programming
Anything
you write
goes in-
between
the body
tags.
© Eduschemes Limited 2013. All rights reserved.
The Result
Lesson 1
Activity 2
Web programming
© Eduschemes Limited 2013. All rights reserved.
How to Make Your First Web Page
Lesson 1
Activity 2
Web programming
1.
Open a web page editor
(such as Notepad++ or
Notepad).
2.
Type in your code.
3.
Save your work.
-Save as a ‘
.html
’ file.
-Save as type ‘
Hyper Text
Markup Language file
’.
© Eduschemes Limited 2013. All rights reserved.
Your Task
Type the following into Notepad/Notepad++ and save as a
.html file.
Lesson 1
Activity 2
Web programming
Create another six web pages
using the h2, h3, h4, h5 and h6
heading tags, instead of the h1
tags shown.