Year 8

Words are not enough

Year 8

Words are not enough

warning

These resources will be removed by end of Summer Term 2025.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

Lesson details

Key learning points

  1. In this lesson, we will explore the structure and operation of the "img" tag and understand how they can be used to 'add' images to web pages.

Licence

This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.

Loading...

5 Questions

Q1.
What is used to provide structure in a HTML document
A text editor
Identifiers
Correct answer: Tags
Togs
Q2.
What will the following line of HTML display? The house was <em><b>very</b></em> big!
The house was very big! All in bold.
The house was very big! All in italics.
Correct answer: The house was very big! with the word very in italics and bold.
The house was very big! with the word very in italics.
Q3.
What is wrong with this line of HTML? <h1>Welcome to the world of HTML<h2>
Heading tags do not match
Correct answer: Heading tags do not match and no closing tag
No closing tag
Nothing
Q4.
What word is missing from this line of HTML code? <h2 ="color:blue;">Pig one</h2>
center
color
font
Correct answer: style
Q5.
When using a text editor to create a web page, what file type should we make sure is at the end of the filename?
Correct answer: .html
.pdf
.txt
.web

7 Questions

Q1.
What is the current standard for HTML?
HTML!
HTML4
Correct answer: HTML5
HTMLS
Q2.
What is the main purpose of alt tags?
To display a description of the image over the it like a caption
Correct answer: To display a description of the image should it not load correctly
To display a description of the image when a user clicks on it
To display the filename of the image
Q3.
What is the correct tag to display an image?
<image source="image filename">
<image src="image filename">
<img source="image filename">
Correct answer: <img src="image filename">
Q4.
In the example in the previous question, where would we add the alt tag?
After the >
Correct answer: After the last "
Before the <
Before the first "
Q5.
What is the purpose of <!DOCTYPE html>?
It adds .html on to our filenames automatically.
It allows you to open the web page in a word processor.
Correct answer: It declares the document type to help browsers display information correctly.
It tells your browser that this file includes images to display.
Q6.
When creating a new web page, which tag comes first the <html> or the <body> tag?
<body>
Correct answer: <html>
Q7.
When using the width attribute for images, what comes directly after it?
"50%" or whatever percentage you are choosing.
Correct answer: =
Number of centimetres wide.
Number of pixels wide.