Privacy policy template in HTML and CSS
A ready-to-fill GDPR privacy policy for a showcase site: controller, data collected, purposes, retention periods, recipients, rights and cookies, with 24 highlighted fields to complete and a side table of contents that follows the reader.
Here is an excerpt of this component's code in HTML and CSS. The full code is free for members, ready to copy into your project.
This component also comes in
The code in HTML and CSS
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Modèle de politique de confidentialité</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="demo">
<article class="ppcm" data-ppcm aria-labelledby="ppcm-titre">
<header class="ppcm__head">document.querySelectorAll("[data-ppcm]").forEach((root) => {
const fields = [...root.querySelectorAll("[data-ppcm-field]")];
const notice = root.querySelector("[data-ppcm-notice]");
const status = root.querySelector("[data-ppcm-status]");
const next = root.querySelector("[data-ppcm-next]");
const links = [...root.querySelectorAll("[data-ppcm-toc] a")];
const sections = links.map((link) => root.querySelector(link.hash));
const reduce = matchMedia("(prefers-reduced-motion: reduce)");
const label = (field) => field.lastChild.textContent.trim();
let index = -1;
if (!fields.length) {:root {
--ppcm-radius: 20px;
--ppcm-text: #0f172a;
--ppcm-body: #334155;
--ppcm-muted: #475569;
--ppcm-surface: #ffffff;
--ppcm-line: #e2e8f0;
--ppcm-accent: #0f766e;
--ppcm-accent-soft: #f0fdfa;
--ppcm-field-bg: #fef3c7;
--ppcm-field-text: #78350f;
--ppcm-field-line: #b45309;Free component: copy it freely, including for commercial projects.
Other error pages components in HTML and CSS
Error pages components in HTML and CSS
A ready-to-publish changelog page: dated, versioned notes grouped by month, each with a type badge (new, improvement, fix), module tags and filters that announce how many notes are shown.
- Tailwind
- React
- CSS
- WordPress

Ready-to-fill terms of sale for a showcase site selling to consumers: seller, ordering, prices, delivery, withdrawal with a copyable form, statutory warranties and mediation, with 26 highlighted fields to complete and a side table of contents that follows the reader.
- Tailwind
- React
- CSS
- WordPress

A ready-to-fill French legal notice page: publisher, host, SIRET, contact, intellectual property and personal data, with 16 highlighted fields to complete and a side table of contents that follows the reader.
- Tailwind
- React
- CSS
- WordPress

The page shown after a quote request or contact message: clear confirmation, announced response time, printable summary, next steps and useful links.
- Tailwind
- React
- CSS
- WordPress

Maintenance page
FreeA page shown during maintenance, with the expected return time and ways to stay informed.
- Tailwind
- React
- CSS
- WordPress

A clean not-found page with a large error code, a search field and links to the main sections.
- Tailwind
- React
- CSS
- WordPress