Lesson 1: Website building blocks
Year 8 – Developing for the web
Think, pair, share
Starter activity
What would make the walls of his house more interesting to look at?
How many bricks do you estimate would be needed to build a whole house?
If you wanted to add a stencil motif to each brick, and each one took 2 minutes to do, how long would it take?
Lesson 1: Website building blocks
Objectives
In this lesson, you will:
3
HTML
Activity 1
Hypertext markup language.
The ‘bricks’ of the website that provide the structure to organise the text and images of web pages.
Each of these building blocks are identified with pairs of tags; one to mark the start of the block, one to identify the end.
4
<p>
</p>
<b>
</b>
On sale
HTML examples
Activity 1
For example:
Note: Any text not enclosed by a tag is just presented as plain text.
5
Make a web page
Activity 1
6
Changing appearances
Activity 2
Formatted text is all well and good, but wouldn’t it look better in colour?
Here, the web page looks no different to a page in a book.
7
Inline formatting
Activity 2
You can make websites look nice directly in the HTML.
But you have to do this for each individual piece of text you want to change the look of.
For example:
<h2 style="color:red;">Title</h2>
Some arbitrary text.
<h2 style="color:green;">Another title</h2>
Some more arbitrary text.
Note how color is spelt. Do you know why?
8
Title
Some arbitrary text.
Another title
Some more arbitrary text.
Style it up!
Activity 2
9
Can you remember?
Plenary
What are the answers to the following questions about content from this lesson?
<h1 style="colour:blue;">Search engines<h2>
10
How did you do?
Plenary
<h1 style="colour:blue;">Search engines<h2> �Different open and close tag, close tag missing / , color spelt as colour
11
Next lesson
Summary
12
In this lesson, you...
Explored how to structure web pages with HTML tags, changing their formatting to improve the appearance of on-screen text
Next lesson, you will...
Develop a web page including images to meet design requirements