ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions

N5 Computing Science 2026 Question 20

12 marks · HTML

The home page tab displays the name of the web page as ‘home.html’ as shown below. home.html https://www.garysgardencent This should be displayed as ‘Gary’s garden centre’. Write the code to implement this. The HTML and the CSS code for the home page is shown below. HTML code … <body> <h1 class="style1"> GGC </h1> <h2 id="style2"> Plants </h2> <p class ="style1"> The best plants in town </p> <img src="lily.jpg" /> <p> Here are some of our best sellers </p> <ul> <li> Lily </li> <li> Rose </li> <li> Cactus </li> <li> Jade </li> </ul> </body> </html> CSS code .style1{text-align:center;} p{text-align:left;} #style2{text-align:right;} Draw how the home page will look when viewed in a browser. Some of the content has already been added. https://www.garysgardencentre.co.uk The best plants in town Here are some of our best sellers All the files for the website are stored in a folder called ‘plants’ as shown below. website plants > > > Media Lily Rose Cactus Jade home.html website plants > rose > > Name Rose1 GIF Rose2 JPEG Rose3 MP3 Rose4 MP4 roseplants.html > Name Type Type File Folder GIF File File Folder JPEG File File Folder MP3 File File Folder MP4 File File Folder HTML HTML Gary wants to add links to his best‑selling plants list. Complete the following code to add the link to the ‘Rose’ page. <li> </li> Gary wants to add the animated picture of a rose to the ‘Rose’ page. Write the code to implement this. The ‘Cactus’ page includes a feature that changes an image of a young cactus plant, to an image of a fully grown cactus plant, when the cursor is placed on the image. State the programming language used to implement this feature. State the type of event that is used. Gary would like to use pictures of customers’ gardens on the website. State the name of the legislation that applies to the use of these pictures. Gary has a website for his garden centre.

Marking scheme

<title> Gary’s garden centre </title> • GGC centre aligned • ‘Plants’ right aligned in correct position • bulleted list in correct position and order • anchor tag opening and closing around “Rose” • rose used as folder path • correct file used roseplants.html <a href = “rose/roseplants.html”> Rose</a> Also accept folder path from website folder <a href = “plants/rose/roseplants.html”> Rose </a> • correct use of img tag • correct file used <img src= “Rose1.gif” /> Ignore path. JavaScript (on)mouseover Copyright Design and Patents (Act)

Previous question: N5 Computing Science 2026 Question 19

Next question: N5 Computing Science 2026 Question 21