F164: Website Development Revision Notes

OCR AAQ Computing H129   Optional NEA unit, 70 GLH   Topic Areas 1 to 5

Free revision notes for OCR Cambridge Advanced National in Computing: Application Development unit F164 Website development (Extended Certificate H129). They cover all five Topic Areas in the specification: fundamentals of website development, then planning and designing, creating, testing, and reviewing high-fidelity website prototypes.

F164 is an optional unit assessed by an OCR-set assignment (NEA), not an exam. The assignment has 24 assessment criteria across three tasks, and they ask you to apply the knowledge in these notes. Sources: the OCR specification (version 5.0, June 2026, section 5.3.3) and WCAG 2.2.

Topic 1 - Fundamentals of website development

1.1  Website principles: domain name and URL structure

A Uniform Resource Locator (URL) is the full address of one resource on the web. A domain name is the human-readable part of it that identifies the website. The Domain Name System (DNS) translates the domain name into the IP address of the web server that hosts the site.

https://www.example.com/hire/kayaks.html?size=large#prices

PartExampleWhat it does
Protocol (scheme)https://How the page is transferred. HTTPS encrypts the connection with TLS.
SubdomainwwwA division of the domain. Can point to a separate section, e.g. shop.
Second-level domainexampleThe registered name, usually the brand.
Top-level domain (TLD).comGeneric (.com, .org) or country code (.uk, .co.uk).
Path/hire/The folder on the server. Mirrors the site's folder structure.
File namekayaks.htmlThe page requested. If omitted, the server returns the folder's index page.
Query string?size=largeData sent to the page, used by dynamic sites.
Fragment#pricesJumps to an element with that id on the page.
Features of a good domain name
Short, memorable and easy to spell. Matches the brand. Uses a TLD that suits the purpose and audience (a UK business would choose .co.uk; a charity often uses .org). Registered through a domain registrar for a fee and renewed each year. It must be available.
Impact on development
The domain choice affects brand recognition, trust and search visibility. Readable paths such as /hire/kayaks help users and search engines understand a page. Use lowercase file and folder names with hyphens, not spaces, because they become part of the URL.

Spec 2.1 asks how the website's purpose impacts domain name choice. Link the choice to the scenario: a seaside hire shop targeting UK customers suits a short .co.uk name that contains the brand.

1.1  Website principles: platform, browser and device compliance

Platform and browser compliance
The site displays and works the same way on different operating systems (Windows, macOS, Android, iOS) and browsers (Chrome, Edge, Safari, Firefox). Browsers use different rendering engines (Blink in Chrome and Edge, WebKit in Safari, Gecko in Firefox), so the same code can render slightly differently.
Impact: write standards-compliant code, check feature support before using new CSS or JavaScript, provide fallbacks, and test in several browsers.
Device compliance
The site works on every device the client expects users to have.
Sizes: screen widths range from small phones to large desktop monitors, in portrait and landscape.
Types: desktop, laptop, tablet, smartphone, smart TV. Input differs: touch screens have no hover, so rollovers need an alternative, and touch targets must be large enough to tap.
Impact: responsive design, the viewport meta tag, compressed images for mobile data, testing on real devices.

When the scenario names devices (the Wind & Waves sample says the site must work on mobile devices), M5 requires the prototype to function as intended on those devices. Plan for them from Task 1.

1.1  Website principles: W3C compliance and WCAG

The World Wide Web Consortium (W3C) is the international standards body for the web. It publishes the CSS specifications and the Web Content Accessibility Guidelines (WCAG), and endorses the HTML standard (maintained by WHATWG as the HTML Living Standard). W3C compliance means the site's code follows these standards: valid HTML and CSS with no errors.

How compliance is checked
The W3C Markup Validation Service (validator.w3.org) checks HTML. The W3C CSS Validation Service checks CSS. Both list each error with its line number.
Why it matters
Valid code renders more consistently across browsers, works with assistive technology such as screen readers, is easier to maintain, and is easier for search engines to read.
Protocols and guidelines
Protocols are agreed rules for communication: HTTP/HTTPS transfers web pages, DNS resolves domain names, FTP/SFTP uploads files to a host. Guidelines such as WCAG set out how content should be written so everyone can use it. See F161 Topic 3 for protocols.

WCAG 2.2 is the current version (a W3C Recommendation since October 2023). Its success criteria sit under four principles, remembered as POUR, at three conformance levels: A (minimum), AA (the usual target, and the level UK public sector websites must meet) and AAA (highest).

PrincipleMeaningExample success criteria
PerceivableUsers can see or hear the contentText alternatives (alt) for images (1.1.1, A). Captions for prerecorded video (1.2.2, A). Text contrast of at least 4.5:1, or 3:1 for large text (1.4.3, AA). Text resizable to 200% (1.4.4, AA).
OperableUsers can use every controlEverything works from a keyboard (2.1.1, A). Moving content can be paused (2.2.2, A). Nothing flashes more than three times a second (2.3.1, A). Each page has a descriptive title (2.4.2, A). Keyboard focus is visible (2.4.7, AA).
UnderstandableUsers can understand content and controlsPage language is set, e.g. <html lang="en"> (3.1.1, A). Form inputs have labels or instructions (3.3.2, A). Navigation is consistent across pages (3.2.3, AA).
RobustContent works with current and future tools, including assistive technologyControls expose their name, role and value to assistive technology (4.1.2, A), which valid, semantic HTML does by default.

D2 asks you to assess design choices against current W3C and accessibility guidelines. Name the guideline and level (for example "WCAG 2.2 success criterion 1.4.3, level AA") and give a judgement, rather than listing features.

1.1  Website principles: site structures, Web 2.0 and Web 3.0

The site structure is how the pages are organised and linked. Common structures: hierarchical (a tree from the home page down through sections), linear (pages in a fixed order, e.g. a checkout), and webbed (pages link freely to each other).

Index page
The home page and entry point of the site. Conventionally named index.html (or index.php) and placed in the root folder, because the web server returns it by default when a visitor requests the domain or a folder.
Site map
A diagram or list of every page and how they link. As a planning tool it shows the hierarchy and navigation (see 2.2). On a live site it can be an HTML page for users, or an XML sitemap (sitemap.xml) that lists URLs for search engines.
Web 2.0
The web where users create and share content as well as read it: social media, blogs, wikis, reviews, comments, video sharing. Interactive and collaborative.
Impact: sites must accept, store, moderate and secure user input, usually with a database and server-side scripting.
Web 3.0
The next stage of the web. Two strands: the semantic web, where data is structured so machines can understand its meaning, and the decentralised web, built on technologies such as blockchain so users own their data. Linked to AI-driven personalisation.
Impact: semantic markup and structured data become more important.

1.2  Purpose of websites

The spec lists seven purposes. A site often has more than one. The content, layout and style are adapted to the purpose.

PurposeAimHow content, layout and style adapt
Advertise/promoteRaise awareness of a product, service, brand or eventStrong images and video, brand colours, short persuasive text, prominent calls to action ("Book now")
EducateTeach a topic or skillStructured content in sections, clear headings, diagrams, examples, quizzes
EntertainGive enjoymentGames, video, music and animation; bold, immersive style
InfluenceChange an opinion or behaviour (e.g. a charity or health campaign)Emotive images, statistics, testimonials, a single clear action
InformProvide factual information (news, opening times, council services)Clear layout, readable text, search, up-to-date content
MarketIdentify, attract and keep target customers over timeNewsletter sign-up forms, social media links, offers, content aimed at a defined audience
SellTake orders and payment (e-commerce)Product pages, basket, secure checkout, trust signals such as HTTPS and reviews

Advertise and market are different purposes. Advertising is a specific promotional message. Marketing is the wider activity of reaching and keeping a target audience, for example collecting sign-ups.

1.3  Website types

Interactive
Responds to user actions: forms, quizzes, rollovers, sliders, maps, filters. Keeps users engaged.
Multimedia
Combines text, images, sound, video and animation. Engaging, but large files slow loading and need captions and alternatives.
Responsive
The layout adapts to the screen size and device, using fluid grids, media queries and relative sizing. One site serves every device.
Single page
All content is on one HTML page. Navigation scrolls to sections or swaps content with JavaScript. Fast once loaded and simple to navigate, but a longer first load and fewer pages to target different keywords.
Static
Fixed content stored in HTML files. Every visitor sees the same page. Changed only by editing the code. Fast, cheap to host, few security risks, no database.
Dynamic
Pages are generated when requested, usually from a database by a server-side script such as PHP. Content can change per user or over time: logins, baskets, search results. Needs server-side hosting and is more complex to secure.
Content Management System (CMS)
Software for creating and managing content without writing code, e.g. WordPress, Drupal, Joomla. Uses themes (templates) and plugins. Lets non-technical staff update the site. CMS sites are dynamic.
StaticDynamic
ContentSame for every visitorGenerated per request, can be personalised
UpdatingEdit the HTML filesChange the database, often through an admin interface
HostingAny web serverServer-side scripting and a database
Speed and costFast and cheapSlower to build and host

Combining types: most sites are several types at once. The Wind & Waves sample asks for an interactive multimedia site that works on mobile, so it must also be responsive. A CMS site is dynamic and usually responsive through its theme.

Personalisation: websites increasingly tailor content to each user, using accounts, cookies, browsing history, location and recommendations. Non-essential cookies need consent under PECR (see F161 Topic 6).

1.4  Webpage components: semantic HTML5, CSS3 and scripting

Semantic page components
HTML5 elements whose names describe their meaning: <header>, <nav>, <main>, <section>, <article>, <aside>, <footer>, <figure>. Screen readers use them to jump between areas, and search engines use them to understand the page.
Interface designs
The page layout built from those components, typically header, navigation bar, main content, optional sidebar and footer. Keeping the same interface design on every page makes the site predictable.
HTML5 (or later)
HyperText Markup Language: the language that structures content. HTML5 added semantic elements, native <video> and <audio>, <canvas>, and new form input types (email, date, number) with built-in validation.
CSS3 (or later)
Cascading Style Sheets: the language that controls presentation (colour, fonts, spacing, layout). One external .css file linked from every page keeps the style consistent. CSS3 added media queries, Flexbox, Grid, transitions, animations, web fonts and rounded corners.
Client-side scripting
Code that runs in the user's browser, normally JavaScript. Used for interactivity: checking a form before it is sent, image sliders, show/hide menus, responding to clicks. Reduces requests to the server. The user can see and disable it, so it never replaces server-side checks.
Tags
HTML elements written in angle brackets, usually as an opening and closing pair: <p>…</p>. Some are empty, e.g. <img>. Attributes add information: href, src, alt, class, id. Meta tags in the <head> describe the page (see 1.5).
<body>
  <header><img src="assets/images/logo.svg" alt="Wind and Waves"></header>
  <nav><a href="index.html">Home</a> <a href="hire.html">Hire</a></nav>
  <main>
    <h1>Kayak and surfboard hire</h1>
    <section>...</section>
  </main>
  <footer>...</footer>
</body>

1.4  Webpage components: navigation, user interactions and forms

Hyperlinks
Created with <a href="">. Internal links go to pages on the same site (relative paths), external links to other sites (absolute URLs), and anchor links to a section (#id). Link text should describe the destination ("View hire prices", not "click here").
Hotspots
Clickable areas on an image, made with an image map: <map> and <area> with a shape (rect, circle, poly) and coordinates. Each area needs its own alt text. Example: clicking a beach on a map.
Navigation bar
A set of links to the main pages, in the same place on every page, inside <nav>. Shows the current page. On small screens it usually collapses into a menu button.

User interactions are the ways users act on the page: clicking or tapping, hovering, scrolling, swiping, typing, dragging and playing media. Each should give feedback, for example a button changing colour when pressed.

Forms collect input from users (bookings, enquiries, sign-ups). They are built from <form>, <input> (types such as text, email, tel, date, checkbox, radio), <select>, <textarea> and a submit <button>. Every input needs a <label>. Attributes such as required and the input type give validation in the browser; a server-side script (e.g. PHP) processes the data. Personal data collected must follow UK GDPR (see F161 Topic 6).

<label for="email">Email address</label>
<input type="email" id="email" name="email" required>

1.4  Webpage components: responsive design features

Compatibility: browser and device
The page works on every target browser and device. Needs the viewport meta tag, standards-compliant code and testing on each one.
Fluid grids
Layout columns sized in proportions (percentages or Grid fr units) instead of fixed pixels, so they stretch and shrink with the screen. Built with CSS Grid or Flexbox.
Media queries and breakpoints
A media query applies CSS rules only when a condition is true, such as a maximum screen width. A breakpoint is the width at which the layout changes, e.g. from three columns to one.
Relative sizing
Sizes given relative to something else: % (parent), em (element's font size), rem (root font size), vw/vh (viewport). Images use max-width: 100% so they never overflow.
<meta name="viewport" content="width=device-width, initial-scale=1">

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
img { max-width: 100%; height: auto; }
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }   /* breakpoint at 600px */
}

1.4  Webpage components: libraries, frameworks and animation

A library is a collection of pre-written, reusable code that your code calls when it needs it. A framework provides the structure and conventions that you build the site inside. Both save development time and are already tested across browsers.

Spec categoryExamplesUsed for
HTML basedHTML5 Boilerplate; Bootstrap's ready-made HTML componentsA standards-compliant starting template and page components
CSS basedBootstrap, Tailwind CSS, Bulma, FoundationResponsive grid, pre-styled buttons, forms and navigation bars
JavaScript basedjQuery, React, Vue, Angular; animation and slider librariesInteractivity: menus, sliders, carousels, dynamic content
PHP basedLaravel, Symfony, CodeIgniter (WordPress is a PHP CMS)Server-side: processing forms, databases, user accounts
Advantages
Faster development; tested and cross-browser; responsive features built in; consistent components; documentation and community support.
Disadvantages
Extra file size can slow loading; time to learn; sites can look generic; you depend on the maintainers for updates and security fixes; licence terms apply.

Animation techniques: CSS transitions (a property changes smoothly, e.g. on hover), CSS keyframe animations (@keyframes), CSS transforms (rotate, scale, translate), JavaScript animation and libraries, animated GIFs and banners, and parallax scrolling. Accessibility limits: moving content lasting more than five seconds needs a way to pause it (WCAG 2.2.2), nothing may flash more than three times a second (2.3.1), and the prefers-reduced-motion media query lets users turn motion down.

M1 needs an explanation of how each chosen library or framework lets the prototype function as intended, e.g. "Bootstrap's grid gives the hire page a three-column layout that becomes one column on phones". Naming the library alone does not meet it.

1.5  Search Engine Optimisation (SEO) techniques

SEO is improving a website so it appears higher in the unpaid (organic) results of search engines. A search engine finds a page by crawling, stores it by indexing, then ranks it against each search.

Crawling
Automated programs (crawlers, spiders or bots) follow links to discover pages. Helped by internal links and an XML sitemap. A robots.txt file tells crawlers which areas not to crawl.
Indexing
The search engine analyses a crawled page and stores it in its index. Only indexed pages can appear in results. A noindex meta tag keeps a page out.
Keywords
The words and phrases users type into search. Placed in the title, headings, opening text, URL, image alt text and link text. Keyword stuffing (unnatural repetition) is penalised.
Metadata
Data about the page in the <head>. The <title> is the headline in results; the meta description is often the snippet underneath. Google ignores the old meta keywords tag.
Mobile-friendly
Google uses mobile-first indexing: it mainly uses the mobile version of a page to index and rank it. Needs responsive layout, the viewport tag, readable text, tappable controls and fast loading.
Ranking
The order of results, set by the search engine's algorithm. Factors include relevance of content to the search, content quality, links from other reputable sites (backlinks), page speed, mobile-friendliness and HTTPS.
<title>Kayak and Surfboard Hire in Cornwall | Wind and Waves</title>
<meta name="description" content="Hire kayaks, surfboards and wetsuits by the hour or day.">

D1 is to justify SEO techniques: give each technique a reason linked to the client, e.g. keywords chosen from what 16 to 30-year-olds would search for. D3 is to implement them so the prototype is visible to search engines, evidenced with screenshots of the code.

Topic 2 - Plan and design prototypes

2.1  Client and user requirements

Client requirements are what the organisation paying for the site needs. The spec breaks them into four parts:

Purpose
What the site is for (see 1.2), e.g. to promote the shop and its products.
Type of website
Which types it must be (see 1.3), e.g. interactive, multimedia, works on mobile.
Target audience
Who it is for: age, interests, location, technical ability, devices, e.g. people aged 16 to 30.
Content of website
The pages, information and media it must contain, e.g. equipment for hire, prices, location.

User requirements are what the people using the site need in order to use it well: finding information quickly, clear navigation, accessible content, fast loading on their device, and readable text.

P1 must cover both client and user requirements and expand them into specific requirements you can check in Task 3. "Works on mobile" becomes "every page displays without horizontal scrolling at 360px wide".

2.1  Navigation, interactive components and assets

The navigation system is how users move between pages: navigation bar, menus, footer links, buttons and hotspots. It must be consistent on every page and let users reach key content in few clicks.

Interactive componentWhat it is
ButtonsControls that trigger an action, e.g. submit a form, open a gallery
Media controlsPlay, pause, volume and full screen for audio and video (controls attribute)
User input fieldsText boxes, drop-downs, checkboxes and date pickers in forms
RolloversAn element changes when the pointer is over it (CSS :hover). Touch screens have no hover, so information must not depend on it.
HyperlinksText or images that link to another page, section or site
HotspotsClickable regions of an image (image map)

Assets are the content items the site uses: text, sound, images, video/animation and forms. Each one is planned in the assets list (2.2) with its source and licence.

2.1  House style, plugins and other design considerations

A house style is the set of rules that gives every page the same look, matching the client's brand.

Colours
A fixed palette with exact hex codes, chosen for the brand and audience, with enough contrast for text (4.5:1).
Fonts
Font families, sizes and weights for headings and body text. Readable on small screens.
Styles: images and text
How images are treated (size, borders, rounded corners, filters) and how text is formatted (alignment, line spacing, link style).
Plugins
Add-on software that extends a site's functions, e.g. CMS plugins for booking or galleries, or embedded maps and social media feeds. Each adds loading time and depends on its developer for security updates.
Responsive design, SEO, W3C compliance
Planned from the start rather than added at the end: decide breakpoints and layouts for each device (1.4), the keywords and metadata (1.5), and how designs will meet W3C and WCAG (1.1).

M2 is to explain why the house style suits the client in the scenario. Give reasons for each choice: "sea blue and sand colours reflect that the shop is near the sea".

2.1  Hosting requirements

Web hosting is renting space on a web server that stores the site's files and serves them to visitors. The spec lists four hosting requirements.

Cost
Shared hosting (many sites on one server) is cheapest; a virtual private server (VPS) or dedicated server costs more but gives more resources and control. Costs depend on storage, bandwidth, and whether a database and server-side scripting are included. Charged monthly or yearly.
Location
Where the servers are. A data centre near the target users loads pages faster. Storing personal data outside the UK brings extra UK GDPR rules on international transfers.
Security
An SSL/TLS certificate for HTTPS, firewalls, protection against denial-of-service attacks, regular backups, software updates and secure access to the control panel.
Domain name
Registered with a registrar (often bundled with hosting) and renewed yearly. DNS records point the domain at the host's server.

How purpose affects hosting: a site that sells needs HTTPS and a payment provider that meets the Payment Card Industry Data Security Standard (PCI DSS), plus capacity for busy periods. A multimedia site with video needs more storage and bandwidth, or uses a video host. A dynamic site needs server-side scripting (e.g. PHP) and a database; a static site can use cheaper hosting.

The P2 guidance says the explanation must include the content in Topic Area 2.1: cover cost, location, security and domain name, each explained for this client.

2.2  Tools to plan and design website prototypes

The spec splits the tools into two groups: tools to document ideas early on, and tools to document plans and designs once ideas are chosen.

ToolPurpose and conventionsWhen to use it
Mind mapCentral idea with branches of related ideas and sub-branches. Informal, quick.Generating ideas at the start, e.g. possible pages and features
Mood boardA collage of images, colours, fonts and textures that sets the look and feel. Can be annotated.Agreeing a visual direction with the client before designing
Site planDiagram of every page and the links between them, usually a hierarchy from the home page. Shows the navigation system and a summary of each page's content.Designing the structure (P3)
Visualisation diagramA sketch of how a page will look, with colours, fonts, images and annotations.Showing the intended appearance of a page
WireframeThe layout skeleton of a page: boxes for header, navigation, images and text, with annotations for sizes, fonts and links. Little or no colour. Can be drawn for each breakpoint.Designing page templates and layout (P4)
StoryboardA sequence of frames showing how the user moves through pages or how an interaction or animation plays out. Each frame has a sketch and notes on links, timing and actions.Planning interactions and multimedia
Assets listTable of every asset: name, type, description, source, licence or copyright, file format, properties, where used.Identifying assets (P5)
House style sheetOne page defining the colour palette (hex codes), fonts and sizes, logo use, image styles and button styles.Defining the house style (P4, M2)

P3 and P4 both require designs with enough detail to be interpreted by someone who hasn't seen them before. Annotate every wireframe and label every link on the site plan.

Topic 3 - Create prototypes

3.1  Website structure: folders, pages and index page

The folder structure separates the site's files by kind. The spec names three folders: templates, assets and pages.

wind-and-waves/            root folder
  index.html               index page (home)
  pages/
    hire.html
    lessons.html
    contact.html
  templates/
    page-template.html
  assets/
    css/styles.css
    js/main.js
    images/kayak-single.jpg
    video/beach-intro.mp4
Site page structure
How the pages are organised and named in the folders. It should match the site plan from Task 1, so every page in the plan exists and links correctly.
Index page location
index.html goes in the root folder. The server returns it when someone visits the domain, and the relative links from it depend on where it sits.

P7 can be evidenced with screenshots of the folders and files. Show the folder structure, the pages and the index page location.

3.2  Sourcing and preparing assets

Internet
Search engines can filter results by licence. Most images online are protected by the Copyright, Designs and Patents Act 1988, so you need permission or a licence (e.g. Creative Commons) and must follow its terms, such as attribution.
Stock libraries
Collections of images, video and audio licensed for reuse: free (Unsplash, Pexels, Pixabay) or paid (Shutterstock, Adobe Stock). Record the licence in the assets list.

Preparing assets (spec examples): sizing, changing resolution, cropping, removing backgrounds, changing the length or duration of sound, video or animation, and animating static images to make moving objects or banners. Compressing files reduces loading time. The spec does not include creating original assets.

FormatTypeProperties and use
JPEGImageLossy compression, no transparency. Photographs.
PNGImageLossless, supports transparency. Logos, graphics, screenshots.
GIFImageUp to 256 colours, simple transparency, animation. Small animated banners.
SVGVector imageScales to any size without losing quality. Icons and logos.
WebPImageLossy or lossless, transparency and animation, usually smaller files than JPEG or PNG.
MP3AudioLossy, supported by all browsers.
WAVAudioUncompressed, large files.
MP4 (H.264)VideoLossy, the most widely supported video format.
WebMVideoOpen format, small files.

Properties to choose: dimensions in pixels, resolution, file size, compression (lossy or lossless), colour depth, and for sound and video the duration, bit rate and frame rate.

Naming conventions make assets identifiable: lowercase, no spaces (use hyphens), descriptive and consistent, e.g. img-surfboard-blue-800w.jpg. Web servers are often case-sensitive, so Kayak.JPG and kayak.jpg are different files. Descriptive names also help image search.

3.3  Web authoring software tools and templates

Visual design environment
WYSIWYG ("what you see is what you get") editing: place and format elements visually and see the page as it will appear, e.g. Dreamweaver's design view or a website builder. Quick, but less control over the code produced.
Scripting environment with coding assistance
A code editor such as Visual Studio Code or Dreamweaver's code view. Assistance: syntax highlighting, code completion, error highlighting, tag auto-closing and live preview. Full control of the code.
Template creation
A master page holding the parts every page shares (header, navigation, footer, linked stylesheet) with editable regions for each page's content. New pages are made from it, so layout and style stay consistent. Dreamweaver templates and CMS themes work this way.
Preview and publishing
Preview in several browsers and in the browser's device emulation mode. Publish by uploading the files to the web server, e.g. by SFTP or the host's control panel, then check every link on the live site.

Other tool skills in 3.3: form controls (inputs, labels, drop-downs, buttons, see 1.4), interactive features and controls (rollovers, sliders, accordions, media players), responsive design features (see 1.4), libraries/frameworks linked with <link> and <script> tags, and SEO (titles, meta descriptions, headings, alt text, file names; see 1.5).

3.3  CSS: box model, page formatting and content formatting

The box model: every element is a rectangular box made of four layers, from inside out: content, padding (space inside the border), border, margin (space outside the border). By default width sets the content only; box-sizing: border-box makes it include padding and border.

Website/page formatting
The layout of the page: Flexbox and Grid, widths, positioning, backgrounds and spacing between sections.
Content formatting
The appearance of content: font-family, font-size, color, line-height, text-align, list and link styles, image borders.
:root { --sea: #0b4f6c; --sand: #f2e3c6; }     /* house style colours */
body  { font-family: Arial, sans-serif; color: #1a1a1a; }
h1, h2 { color: var(--sea); }
.card { padding: 1rem; border: 1px solid #ccc; margin-bottom: 1rem; }
a:hover, a:focus { text-decoration: underline; }  /* rollover */

M6 needs evidence of the CSS styles implemented, e.g. screenshots of the stylesheet next to the pages that use it. One external stylesheet linked from every page is the clearest way to show a consistent style.

Topic 4 - Test prototypes

4.1  Testing methods

Dry run / trace table
Working through code by hand, without running it, using test values and recording each variable's value in a trace table. Used on scripts such as a JavaScript form check, to find logic errors.
Iterative
Testing repeatedly during creation, after each page or feature is added, then fixing and retesting. Finds problems early, when they are cheaper to fix. Followed by post-prototype testing of the finished site.
Test plan
A document written before testing that lists each test. OCR's template columns: test number, test type, test description, test data, expected result, actual result, remedial action required.
No.Test typeDescriptionTest dataExpected result
1TechnicalBooking form rejects an invalid emailkayak.co.ukForm not sent; message asks for a valid email
2ViewpointHire page at phone width360px wideSingle column, no horizontal scrolling

Test data follows F161 Topic 5: normal, extreme (boundary) and erroneous.

4.1  Testing types and elements to test

Technical testing
Carried out by the developer to check that the site works: links, forms and validation, scripts, W3C validation, load speed, behaviour in different browsers.
Viewpoint testing
The spec does not define this term. It also lists "multiple viewpoint size testing" as an element to test, which describes checking the site at different screen (viewport) sizes: phone, tablet and desktop, portrait and landscape. Browser developer tools can simulate each size; real devices confirm it.
User testing
Members of the target audience use the prototype and give feedback, through observation, questionnaires or interviews. Finds usability problems the developer misses.

Elements of website prototypes to test (spec list):

ElementWhat to check
Content displayText, images, video and sound appear correctly
Ease of useUsers complete tasks quickly without help
HyperlinkingEvery link goes to the right place; no broken links
Interactive elementsButtons, rollovers, forms, media controls and hotspots work
Multiple browser testingSame appearance and behaviour in each target browser
Multiple device testingWorks on each device type named in the scenario
Multiple viewpoint size testingLayout adapts at each screen size and breakpoint
Navigation featuresNavigation bar and menus work and are consistent on every page
Pages displayEvery page loads and its layout is correct
Readability of contentFont size, contrast and line length make text easy to read

M3 is to justify the testing: give a reason for each method and type, linked to the scenario. "User testing with people aged 16 to 30 checks the site appeals to the target audience" earns more than "user testing is useful".

4.1  Results analysis and remedial action

Results analysis compares each actual result with the expected result, identifies why any test failed and what the failure means for users. Remedial action is the fix needed, e.g. "add a media query at 600px so the gallery becomes one column". The spec does not include carrying out the remedial action.

P11 needs evidence of actual results (screenshots, photographs or recordings). M7 is to analyse them and explain the remedial action; the guidance says you are not expected to fix errors found in final testing.

Topic 5 - Review and improve prototypes

5.1  Reviewing the effectiveness of website prototypes

Reviewing means assessing strengths and weaknesses and comparing the prototype against the requirements written in Task 1. The spec lists what to judge it on:

Review againstHow to assess it
Client requirementsCheck each specific requirement from P1: met, partly met or not met, with evidence
User requirementsUse user testing feedback: could users find what they needed?
AccessibilityCheck against WCAG: alt text, contrast, keyboard use, captions, labels
Device independence/compatibilityResults from multiple device and browser tests
Responsive designResults from viewport size tests at each breakpoint
SEO techniques usedAre titles, meta descriptions, headings, keywords and alt text in place? Is the site mobile-friendly?

P12 is to assess: give a judgement for each requirement backed by evidence, covering the areas in Topic Area 5.1.

5.2.1  Constraints and improvements

Constraints are factors that limited the prototype:

Legislation
Copyright (Copyright, Designs and Patents Act 1988) limits which assets can be used. UK GDPR and the Data Protection Act 2018 govern forms that collect personal data. PECR requires consent for non-essential cookies. The Equality Act 2010 requires services not to disadvantage disabled users, which links to accessibility.
Libraries/Frameworks
The features a library offers, its file size, and its licence can limit the design.
Skills
The developer's ability in HTML, CSS, JavaScript or a framework.
Software
The authoring tools and licences available.
Time
The deadline limits how many pages and features can be built and tested.

Improvements (spec list): accessibility, browser independence/compatibility, content, visuals and interaction, device independence/compatibility, domain name, SEO, and security (e.g. HTTPS, server-side validation of forms). Each improvement should be linked to a weakness found in testing or review.

5.2.2  Further development opportunities

Extra content/features
New pages or functions, e.g. a weather and tide page, or an equipment size guide.
Further user interactivity
e.g. a live availability calendar, user reviews, a quiz to recommend equipment.
Hosting considerations
Moving the prototype to live hosting: hosting type, capacity for peak season, HTTPS, backups.
Payment gateways/processors
Third-party services that take card payments securely (e.g. Stripe, PayPal), so the site can take bookings and deposits online without storing card details itself.

D5 is to discuss: weigh each improvement or development (benefit, cost, effort) and reach a judgement. The guidance says achieving P12 and M7 can support it.