Choose exam board for KS4 Computer Science (GCSE)
Choose exam board for KS4 English
Choose exam board for KS4 French
Choose exam board for KS4 Geography
Choose exam board for KS4 German
Choose exam board for KS4 History
Choose tier for KS4 Maths
Choose exam board for KS4 Music
Choose exam board for KS4 Physical education (GCSE)
Choose exam board for KS4 Religious education (GCSE)
Choose exam board for KS4 Spanish

      Lesson details

      Learning outcome

      I can plan and build a structured website using HTML for content and CSS for styling, applying key web design principles.

      Key learning points

      1. User requirements help define the purpose and features of the website.
      2. Wireframes and site maps help plan the structure and navigation of a website before coding.
      3. HTML provides the structure of each page, using semantic elements to make content more accessible and readable.
      4. CSS is used to create a consistent styling to match the original design plan.

      Keywords

      • User requirement - something that the target audience wants in relation to the product

      • Semantic HTML - HTML elements that clearly describe their meaning and role in a web page

      Common misconception

      I don’t need a wireframe or site map, I can just start coding.

      Planning is a key step in web development. A wireframe helps you decide where things go before writing any code, and a site map ensures you know how pages connect. Skipping planning often leads to messy code and confusing navigation.

      Teacher tip

      Pupils will have encoutered many uses of HTML in the world around them. Tailor the activities in the slides to best reflect the experiences pupils in your school will have had when using HTML-based technology.

      Equipment

      Pupils will need access to a device with HTML editing software. Examples in this lesson use the RPF Code Editor https://oak.link/html-editor

      Licence

      This content is © Oak National Academy Limited (2026), licensed on Open Government Licence version 3.0
      except where otherwise stated. See Oak's terms & conditions
      (Collection 2).

      Lesson video

      Loading...

      Prior knowledge starter quiz

      6 Questions

      Q1.
      What is the purpose of JavaScript in web development?

      to create static web pages
      to design website layouts
      to store data on servers
      Correct answer: to add interactivity to web pages

      Q2.
      What does the DOM represent?

      a programming language
      a server's database
      Correct answer: a web page's structure
      a browser's cache

      Q3.
      What is an event listener?

      Correct answer: a function that waits for user actions and then triggers responses
      a function that triggers user actions
      a tool for debugging code
      a method to store data

      Q4.
      Which of these is an example of an event that might trigger JavaScript?

      the <title> element being displayed in the browser tab
      a server responding to a request
      a browser closing
      Correct answer: a user clicking a button

      Q5.
      Match each method to its purpose:

      Correct Answer:addEventListener,waits for user actions

      waits for user actions

      Correct Answer:console.log,outputs messages to the console

      outputs messages to the console

      Correct Answer:getElementById,selects an element in the DOM

      selects an element in the DOM

      Correct Answer:alert,displays a pop-up message

      displays a pop-up message

      Q6.
      A line of JavaScript needs to read a textbox on an HTML page and assign it to a variable. Complete the code to make this work.
      1
      let password = document.__________("passwordEntered").value;
      Code colour

      Correct Answer: getElementById

      6 Questions

      Q1.
      What is the purpose of user requirements in web development?

      Correct answer: to define the website's purpose and features
      to create the website's navigation
      to style the website consistently
      to write the website's HTML code

      Q2.
      What does a wireframe represent?

      the website's code
      the website's styling
      the website's navigation paths
      Correct answer: the website's layout and structure

      Q3.
      What does a site map show?

      Correct answer: the website's navigation and page connections
      the website's design and layout
      the website's styling rules
      the website's code structure

      Q4.
      Put these planning steps in order:

      1 - Define the user requirements.
      2 - Create a wireframe.
      3 - Design a site map.
      4 - Write the HTML code.

      Q5.
      Which CSS feature ensures consistent styling across a website?

      Correct Answer: CSS classes, classes, class

      Q6.
      Why is semantic HTML important?

      It speeds up website loading.
      It improves a website's design.
      Correct answer: It makes content more accessible and readable.
      It adds interactivity to a website.

      To help you plan your 11 computer science lesson on: Web based project I, download all teaching resources for free and adapt to suit your pupils' needs...