Skip to topic
    ← Back to course topics

    Web Technologies — CCEA A-Level Computer Science

    Test yourself on Web Technologies with CCEA A-Level practice questions.

    Start free

    7 days Premium · Then free forever · No card, no charge

    Web Technologies explained

    This subtopic covers the fundamental technologies of the World Wide Web: HTML5 for structuring content and CSS3 for presentation and layout.

    Read the full explanation

    Learners will develop practical skills in creating semantic, accessible web pages and applying responsive design techniques to ensure optimal viewing across devices. Mastery of these skills is essential for modern web development, enabling efficient content organization and aesthetic, user-friendly interfaces.

    Your focus

    1. Construct web pages using HTML5 semantic elements (e.g., header, nav, section, article, footer) to define document structure.
    2. Apply CSS3 selectors (element, class, ID, attribute, pseudo-class) to target and style HTML elements.
    3. Demonstrate understanding of the CSS box model by controlling dimensions, padding, borders, and margins.
    Show all 5 objectives
    1. Implement responsive web design using media queries, fluid grids, and flexible images.
    2. Evaluate the accessibility of web pages by applying WCAG-compliant practices such as alt text and ARIA roles.

    Web Technologies exam tips

    Topic Overview

    Web Technologies covers the fundamental concepts and protocols that power the World Wide Web. This topic explores how web pages are structured, styled, and made interactive using HTML, CSS, and JavaScript, as well as the client-server model, HTTP/HTTPS protocols, and the role of web servers and browsers. Understanding these technologies is essential for building modern websites and web applications, and it forms the backbone of many digital services we use daily.

    In the CCEA A-Level Computer Science specification, Web Technologies is part of the 'Software and Web Development' module. You will learn how to create static and dynamic web pages, handle user input, manage state across sessions, and ensure security through encryption and authentication. This knowledge is not only examinable but also directly applicable to real-world software development, making it a highly practical and rewarding topic.

    Mastering Web Technologies gives you the skills to design and implement complete web solutions. You'll understand how data flows from a server to a client, how styling and scripting enhance user experience, and how to debug and optimise web pages. This topic also introduces key concepts like responsive design, accessibility, and search engine optimisation (SEO), which are critical in today's web-driven world.

    Key Concepts
    • →Client-server model: Understand how web browsers (clients) request resources from web servers using HTTP/HTTPS, and how servers respond with HTML, CSS, JavaScript, and media files.
    • →HTML structure: Know how to use semantic elements (e.g., <header>, <nav>, <main>, <article>, <footer>) to create well-structured, accessible web pages.
    • →CSS styling: Learn to apply styles using selectors, the box model, flexbox, and grid layouts to create responsive and visually appealing designs.
    • →JavaScript interactivity: Grasp DOM manipulation, event handling, and basic AJAX/fetch API to create dynamic content without page reloads.
    • →HTTP methods and status codes: Recognise common methods (GET, POST, PUT, DELETE) and status codes (200 OK, 404 Not Found, 500 Internal Server Error) and their meanings.
    Marking Points
    • Award credit for correct implementation of HTML5 semantic structure with a clear document outline.
    • Credit for consistent and valid CSS syntax, including proper use of selectors and declaration blocks.
    • Award credit for responsive design that includes appropriate breakpoints and fluid layouts tested across different viewport sizes.
    • Credit for demonstrating separation of concerns by using external stylesheets and avoiding inline styles.
    Examiner Tips
    • 💡Always start your design with a semantic HTML5 skeleton before adding CSS to ensure content is logically structured and accessible.
    • 💡Use browser developer tools to inspect and debug layout issues, especially the box model and responsive breakpoints.
    • 💡Follow a mobile-first CSS approach, writing base styles for small screens then using min-width media queries for larger screens.
    • 💡Validate your HTML and CSS code using W3C validators and fix all errors to avoid losing marks for non-compliance.
    • 💡Always use semantic HTML tags (e.g., <nav>, <article>) instead of generic <div> tags. This improves accessibility and SEO, and examiners look for best practices.
    • 💡When writing CSS, demonstrate understanding of specificity and the cascade. Avoid using !important unless absolutely necessary, and explain why you chose a particular selector.
    • 💡For JavaScript questions, show step-by-step logic. Use comments to explain your code, and handle edge cases (e.g., empty input, invalid data) to earn full marks.
    Common Mistakes
    • Using non-semantic elements like <div> for all layout purposes, missing opportunities for HTML5 structural elements.
    • Misapplying the box model by confusing margin (outside) with padding (inside) or not accounting for box-sizing.
    • Failing to include a viewport meta tag, causing mobile browsers to render pages at desktop widths and break responsiveness.
    • Neglecting to test responsive designs on actual devices or emulators, leading to overlooked overflow or touch target issues.
    • Misconception: 'HTML is a programming language.' Correction: HTML is a markup language used to structure content, not a programming language. It does not have logic, variables, or control flow.
    • Misconception: 'CSS is only about colours and fonts.' Correction: CSS controls layout, positioning, animations, and responsiveness. It is crucial for creating user-friendly interfaces across devices.
    • Misconception: 'JavaScript runs on the server.' Correction: JavaScript primarily runs on the client side (in the browser). Server-side JavaScript (Node.js) exists but is a separate concept.
    Frequently Asked Questions
    What is the difference between HTTP and HTTPS?
    HTTP (Hypertext Transfer Protocol) is the standard protocol for transferring data between a web server and a browser. HTTPS (HTTP Secure) uses SSL/TLS encryption to secure the data, preventing eavesdropping and tampering. HTTPS is essential for any site handling sensitive information like passwords or credit card details, and it is now a ranking factor for SEO.
    How do I make a website responsive?
    Responsive design ensures a website looks good on all devices. Use CSS media queries to apply different styles based on screen width, employ flexible grid layouts (e.g., CSS Grid or Flexbox), and use relative units like percentages or 'em' instead of fixed pixels. Also, set the viewport meta tag in HTML: <meta name='viewport' content='width=device-width, initial-scale=1'>.
    What is the DOM and how does JavaScript interact with it?
    The Document Object Model (DOM) is a programming interface for HTML and XML documents. It represents the page as a tree of objects that can be manipulated with JavaScript. Using methods like document.getElementById() or document.querySelector(), you can change content, styles, and structure dynamically. Event listeners (e.g., addEventListener) allow you to respond to user actions like clicks or keypresses.
    What are cookies and how are they used in web development?
    Cookies are small text files stored on the user's computer by the web browser. They are used to remember stateful information, such as login sessions, shopping cart contents, or user preferences. Cookies can be set via JavaScript (document.cookie) or server-side headers. However, they have size limits (4KB) and privacy concerns, so alternatives like localStorage or sessionStorage are sometimes used.
    What is the difference between GET and POST requests?
    GET requests retrieve data from a server and append parameters to the URL (visible in the address bar). They are idempotent and should not change server state. POST requests send data to the server to create or update a resource; the data is in the request body, not the URL. POST is used for sensitive data (e.g., login forms) because it is not cached or bookmarked.
    How do I optimise a website for search engines (SEO)?
    SEO involves both on-page and off-page techniques. On-page: use descriptive title tags, meta descriptions, heading tags (H1, H2) with keywords, alt text for images, semantic HTML, and fast loading times. Off-page: build backlinks from reputable sites. Also, ensure mobile-friendliness and use HTTPS. Tools like Google Search Console can help monitor performance.