8.4.2 - Words are not enough

8.4.2 - Words are not enough
Year 8 – Developing for the Web

1 / 24
volgende
Slide 1: Tekstslide
ComputingLower Secondary (Key Stage 3)

In deze les zitten 24 slides, met interactieve quizzen en tekstslides.

time-iconLesduur is: 60 min

Onderdelen in deze les

8.4.2 - Words are not enough
Year 8 – Developing for the Web

Slide 1 - Tekstslide

Deze slide heeft geen instructies

/h1
p
em
/em
/b
/p
color:red
p
100px
/body

Slide 2 - Sleepvraag

Do No - 5 minutes
Mr Hughes' expectations
It’s ok to be wrong.

Cold calling, everybody needs an answer.
Listen when others are speaking.
Work on teams. Today’s lesson on the slides.
No shouting out – hands up for any questions.
Don't wait for me to tell you what to do with the tasks.




Slide 3 - Tekstslide

Deze slide heeft geen instructies

Learning Objectives
  • Display images within a web page
  • Apply HTML tags to construct a web page structure from a provided design

Slide 4 - Tekstslide

Deze slide heeft geen instructies

<p>Hypertext Markup Language (HTML) and Cascading Style Sheets (CSS) are used to create and format pages of a website. CSS allows you to make formatting changes to your website in one document. The 'instructions' in this document are then applied to your web pages.
</p>
<img src="code.png" alt="screenshot of HTML code">

The HTML code below includes an image.

Can you imagine what it would look like on your screen if you viewed it?






Slide 5 - Woordweb

Deze slide heeft geen instructies

Slide 6 - Tekstslide

Deze slide heeft geen instructies

Let's talk about image tags
Like the tags you have seen before, image tags mark a place in a document where an image should be displayed.





<img src="code.jpg" alt="Screenshot of HTML code">

Slide 7 - Tekstslide

The src attribute identifies the filename of the image that should be loaded.

The alt attribute is used to associate some helpful text with image and is only visible when the mouse hovers over the image or if it doesn’t load.
Loading a file
The image tag creates a space where an image should be displayed.

Images are stored like any other file in computer by being given a name and a location.

When the web page is viewed, the web browser collects the image from where it is stored.


Slide 8 - Tekstslide

Deze slide heeft geen instructies

Look at what we've done so far

Slide 9 - Tekstslide

Deze slide heeft geen instructies

The purpose of web pages
Remember that a web page is designed for an audience and purpose.

The use of images should enhance a web page and complement the text.

Also remember that web pages need to get across useful information to the reader, so the formatting of the page should enable this to happen.


Slide 10 - Tekstslide

Deze slide heeft geen instructies

Why is it important to use images on webpages?

Slide 11 - Open vraag

5 minutes - Expect an extended answer - once you've written an answer, you'll get access to a resource to uplift your answer.
Setting up - Using images
Using your instructions on your desk, Open your ‘A2 Hometags.html’ web in a Notepad++ 

Copy the images (.png files) and the A2 Web page design.pdf from  and paste the images to the same place where your 'A2 Hometags.html' page is stored.

Slide 12 - Tekstslide

Deze slide heeft geen instructies

Task - Using images
1. Place one of the images in an appropriate place in your HTML document.
2. Resize the image by adding the property width="15%".
3. Experiment with the layout of the image by placing image tags inside of modified <p> tags, e.g. 
                     <p style="text-align:center;"><img src="code.jpg"></p>
4. Repeat for the other images and add subheadings for each.
5. If you finish early, start the PDF task by trying to recreate 'A2 Web Design.PDF'





Slide 13 - Tekstslide

Deze slide heeft geen instructies

Formatting 
What formatting can you spot on this web page?

Slide 14 - Tekstslide

Deze slide heeft geen instructies

Emphasised (italics)
h1, red font colour
Bold
This formatting was used
This formatting was't used
h2, black font colour
Light blue background

underlined
P
lists
h3, black colour
italics
centered text

Slide 15 - Sleepvraag

Deze slide heeft geen instructies

1. Open ‘A2 Web page design.pdf’ 

Try to recreate this web page as closely as you can. 



Hint: You will need to account for using tags in your text so the browser shows them:

  < becomes &lt;
 > becomes &gt;

Slide 16 - Tekstslide

Deze slide heeft geen instructies

Take a screenshot of your webpage and upload it here

Slide 17 - Open vraag

Deze slide heeft geen instructies

Image tags look like?
A
<image src=“image.jpg” alt=“this is an image”>
B
<img source=“image.jpg”>
C
<img src=“image” alt=“this is an image”>
D
<img src=“image.jpg” alt=“this is an image”>

Slide 18 - Quizvraag

Deze slide heeft geen instructies

What's gone wrong?



<h1>Astro Pi - Mission Zero<h1>
Young people write a simple program to take a humidity reading onboard the International Space Station and communicate it to the astronauts with a personalised message, which will be displayed for 30 seconds!</p>
<p style="text-align:center;"><img src “astronaut.jpg”></p>



Carefully look at this HTML document. Can you spot three reasons why it won’t work in the way the designer expected?

Slide 19 - Tekstslide

make sure to highlight

/ by the h1>
<p>
= after src
Dingbats
No shouting out; give everyone time to think.

Slide 20 - Tekstslide

Deze slide heeft geen instructies


Slide 21 - Open vraag

crocodile teeth

Slide 22 - Open vraag

inline styling

Slide 23 - Open vraag

Web site

Slide 24 - Open vraag

Web site