HTML — the content
HTML tells the browser what is on the page: headings, paragraphs, buttons, links, images and forms.
My Demo Website to your own heading.
You do not need to be a programmer to have a go. These examples let you change small pieces of website code and immediately see what those changes do.
Think of a website like a house: HTML provides the structure, CSS controls how it looks, and JavaScript makes things respond when someone interacts with the page.
HTML tells the browser what is on the page: headings, paragraphs, buttons, links, images and forms.
My Demo Website to your own heading.CSS controls colours, sizes, spacing, borders, shapes, fonts and the overall visual design.
#eef7ff to another background colour.JavaScript can make a page react to clicks, validate information, show messages and change content without reloading.
My Demo Website in the HTML box, change #eef7ff in the CSS box, then click Run Code. You will see both changes in the preview.How it works: these easy boxes change the matching code above for you. Your changes are only a demonstration — nothing is saved and no email is sent.
Want a contact form that looks different from everyone else's? Use the controls below to design one. You can experiment with colours, borders, rounded corners, text size and the button — and the preview changes instantly.
It is a visual design playground. It changes the appearance of a contact form so you can decide what you like before a real form is built.
This preview does not send emails or save messages. A real working form needs server-side processing, validation and email or database handling.
Pick a Style preset first. Then change one colour or slider at a time and watch the form on the right.
HTML provides structure for headings, paragraphs, images, links, forms, tables and page sections.
<section class="feature"> <h2>A useful section</h2> <p>Clear information for your visitors.</p> <a href="/contact.php">Contact us</a> </section>
JavaScript can respond to clicks, validate fields, update content, open panels and filter information.
const button = document.querySelector('#show');
button.addEventListener('click', () => {
document.querySelector('#message').textContent =
'The page has changed!';
});PHP can receive form data, validate it, talk to a database and produce dynamic pages.
<?php
$name = trim($_POST['name'] ?? '');
if ($name === '') {
echo 'Please enter your name.';
} else {
echo htmlspecialchars($name, ENT_QUOTES, 'UTF-8');
}
?>A production website can combine HTML/CSS for pages, JavaScript for interface behaviour, PHP for server-side functions, MySQL for structured data and APIs for external services.
Production code also needs appropriate validation, authentication, security controls, error handling, accessibility, testing and backups.