Search Header Logo
S1 Web development lesson 3 - graphics

S1 Web development lesson 3 - graphics

Assessment

Presentation

Computers

10th Grade

Practice Problem

Medium

Created by

G Alexander-Doyle

Used 24+ times

FREE Resource

12 Slides • 10 Questions

1

S1 Web Development
Lesson 3 - graphics

2

Introduction to Web Design & Development

Aims

  • To understand how to code graphics in a webpage.

 

Achievements  

  • I can use the image source tag to create a webpage with graphics

3

Last week's lesson

Last week we learned how to insert text into our web pages. We used the <h1> - <h6> tags,  and <p> tags to insert headings and paragraphs.

We have also covered:

  • web page structure 

4

Match

Match the following HTML tags with the correct description

<body>

<h1>

<title>

<p>

<h3>

Contains all visible content

Displays a large heading

Displays text in the browser tab

Displays plain text

Displays a sub-heading

5

Match

Match the following HTML tags with the correct description

<head>

<!DOCTYPE html>

<html>

<h6>

Contains data about the webpage

Informs the browser the version of HTML

Container tag for all html in the page

Displays a very small heading

6

Fill in the Blank

Question image

What is missing from line 6 in the HTML shown opposite.

<
>

7

Fill in the Blank

What is missing word from below:

Hyper Text Mark-up L_______

8

The <img src = ""> tag

HTML 5 uses the <img src = ""> tag to define an image. It uses the file name and file extension to display an image to the user.

 <img src = "football_player.gif">

  • img = image

  • src = source

9

The <img src = ""> tag

To  successfully display an image on a web page you must know the following:

 

  • What the file name and extension are

 

It is best to ensure that the image is located in the same folder as the web page. This means we can shorten the file path in our code.

10

The <img src = ""> tag

It is easy to find out what an image file is called. Simply open the folder you've saved your file to and look for the graphic. The image below shows how jpg, png and gif files look when they're stored in a folder.

media

11

Image file types - jpeg

  • Have the file extension .jpg

  • Do not support transparent backgrounds

  • Do not support animation

  • Supports millions of colours

media

12

Image file types - png

  • Have the file extension .png

  • Supports transparent backgrounds

  • Do not support animation

  • Supports millions of colours

media

13

Image file types - gif

  • Have the file extension .gif

  • Supports transparent backgrounds

  • Supports animation

  • Supports the use of 256 colours

media

14

Multiple Choice

JPEG support many colours so can be used for photographs - True or False?

1

True

2

False

15

Multiple Choice

PNG images can be animated - True or False?

1

True

2

False

16

Multiple Choice

JPEG images can have a transparent background - True or False?

1

True

2

False

17

Multiple Choice

PNG images can have a transparent background - True or False?

1

True

2

False

18

Multiple Choice

How many colours can the gif graphic format support?

1

255

2

millions

3

256

4

8

19

Complete Task 4 – Inserting images

media

20

Plenary question

Get ready to do some debugging!

21

Draw

Use the highlighter tool to highlight the errors in the code from today's task.

22

Introduction to Web Design & Development

Aims

  • To understand how to code graphics in a webpage.

 

Achievements  

  • I can use the image source tag to create a webpage with graphics

S1 Web Development
Lesson 3 - graphics

Show answer

Auto Play

Slide 1 / 22

SLIDE