Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
Log inStart revising free
Revision notesQuestionsFor schoolsLog in

© 2026 Revise Computing · revisecomputing.co.uk

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).

Knowledge/A Level/H446/01 Computer systems/Web Technologies/HTML, CSS and JavaScript

HTML, CSS and JavaScript

HTML, CSS and JavaScript. See appendix 5d.

1.3.4 Web Technologies

Practise exam questions

Web Technologies — Note 1 of 4

Candidates need to understand the purpose of HTML, CSS and JavaScript. Candidates should have experience of writing webpages using HTML, CSS and JavaScript. Candidates need to be able to recognise the code in Appendix 5d, and be able to read, write, amend and interpret code using HTML, CSS and JavaScript.

What you need to know

Web pages are built using three technologies: HTML defines the structure and content, CSS defines the presentation, and JavaScript adds interactivity and processing in the browser. You need to be able to read, write, amend and interpret code using the elements listed in appendix 5d.

What to know

  • HTML tags to know: <html>, <head>, <title>, <body>, <h1> to <h3>, <p>, <img> (src, alt, height, width), <a> (href), <div>, <form>, <input> (text and submit), <ol>, <ul>, <li>, <link> and <script>.
  • CSS can be applied inline with the style attribute, or in an external style sheet linked with <link>. Selectors can target elements (h1), classes (.infoBox) and identifiers (#menu). An id identifies ONE unique element on a page; a class can be given to many elements.
  • CSS properties to know: background-color, border-color, border-style, border-width, color (named and hex colours), font-family, font-size, height, width.
  • External style sheets keep styling separate from content, so the look of a whole site can be changed by editing one file.
  • JavaScript output: change an element with document.getElementById("id").innerHTML = ..., write with document.write(...), or show an alert(...). Input is read from form elements.

Code examples

HTML page with external CSS and JavaScript
text
<html>
<head>
  <title>Revision Quiz</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <h1>Quick Quiz</h1>
  <div class="infoBox">
    <p>What is 6 x 7?</p>
    <input type="text" id="answer">
    <input type="submit" value="Check" onclick="check()">
    <p id="result"></p>
  </div>
  <script>
    function check() {
      var answer = document.getElementById("answer").value;
      if (answer == "42") {
        document.getElementById("result").innerHTML = "Correct!";
      } else {
        document.getElementById("result").innerHTML = "Try again";
      }
    }
  </script>
</body>
</html>
style.css
text
h1 {
  color: #A2441B;
  font-family: Arial;
}
.infoBox {
  background-color: lightgrey;
  border-style: solid;
  border-width: 2px;
}
#result {
  font-size: 20px;
}

Key terms

HTMLHyperText Markup Language

Uses tags to define the structure and content of a web page, e.g. headings, paragraphs, images and links.

CSSCascading Style Sheets

Defines how HTML elements are displayed, e.g. colours, fonts, borders and sizes.

JavaScript

A scripting language that runs in the browser to make pages interactive, e.g. validating form input before it is sent.

Exam technique

  • Tip:Minor JavaScript syntax errors are not penalised, but the logic must be correct. You will not be asked to use JavaScript for OOP or file handling.
  • Tip:Describe HTML as giving a page its STRUCTURE and CONTENT, using tags. 'Layout' or 'format' describes CSS's job and won't earn the HTML mark. The language inside <script> tags is JavaScript; 'Java' is a different language and is not credited.
  • Tip:Write links in full, e.g. <a href="quiz2.html">Next quiz</a>. For a clickable image, put the <img src="..."> inside the <a> tag. When explaining a <head>, say what each line does for the page: <title> sets the text in the browser tab and <link> attaches the external style sheet.
  • Mistake:Using . for an id selector or # for a class. Class = .className, id = #idName.
  • Mistake:Writing CSS like a program, e.g. color = "white", or spelling the property 'colour'. A rule is selector { property: value; }, so write color: white; inside the braces, using the American spelling.
  • Example:A chess club page with a heading, a picture that links to the fixtures page, and a bulleted list of what to bring: <body><h2>Chess Club</h2><a href="fixtures.html"><img src="board.png" alt="Chess board"></a><ul><li>A pencil</li><li>Your score sheet</li></ul></body>. Read each pair of tags back before you move on: the slash goes straight after the < in a closing tag, and attribute values go in quotes.

Past exam questions

  • June 2026Paper 1Q4(a)6marks
  • June 2025Paper 1Q8(d)5marks
  • June 2023Paper 1Q4(d)(i)5marks
  • June 2023Paper 1Q4(d)(ii)3marks
  • November 2021Paper 1Q3(a)4marks
  • November 2021Paper 1Q3(b)3marks
  • November 2021Paper 1Q3(c)4marks
  • June 2019Paper 1Q11(a)9marks
  • June 2019Paper 1Q11(b)2marks
  • June 2019Paper 1Q11(c)2marks
  • June 2018Paper 1Q2(b)(i)5marks
  • June 2017Paper 1Q9(a)2marks
  • June 2017Paper 1Q9(b)6marks
  • June 2017Paper 1Q9(c)(i)1mark
  • June 2017Paper 1Q9(c)(ii)1mark

Web Technologies

Note 1 of 4

  1. 1HTML, CSS and JavaScript
  2. 2Search engine indexing
  3. 3PageRank algorithm
  4. 4Server and client side processing
Topic overview

Ready to test yourself?

Practise 1.3.4 questions
← Previous topicClient-server and peer to peer1.3.3 NetworksNext note →Search engine indexing1.3.4 Web Technologies

Back to Web Technologies