Back to Syllabus Hub
Unit 1060 Periods Allocated

Web Development

Covers client-server web architecture, semantic HTML5 structure, CSS design systems, and PHP-MySQL dynamic scripting.

Syllabus Competency Mappings

Level 10.3Competency Level

Identifies appropriate HTML tags to design a single web page.

Key Topics:
  • HTML page structure (html, head, body)
  • Formatting tags (h1-h6, p, br, lists, tables)
Level 10.7Competency Level

Creates dynamic web pages using PHP and MySQL.

Key Topics:
  • Embedding PHP code
  • POST/GET form handlers
  • Database connections and query execution

A/L ICT Competency Study Guide

1. Client-Server Architecture

Web sites execute operations across two primary environments:

  • Client-Side: Static files (HTML, CSS, JS) downloaded by the user's browser for rendering and user interaction.
  • Server-Side: Scripts (like PHP) executed on the host server to fetch database details before outputting standard HTML to the client browser.

2. Dynamic PHP Scripting

A/L ICT questions frequently test how to connect a PHP script to a MySQL database to read and save user registration inputs.

Sample PHP Database Connection & Write:

<?php
$conn = mysqli_connect("localhost", "root", "", "itguru_db");

if (!$conn) {
    die("Connection failed: " . mysqli_connect_error());
}

if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $name = mysqli_real_escape_string($conn, $_POST["name"]);
    $email = mysqli_real_escape_string($conn, $_POST["email"]);

    $sql = "INSERT INTO Students (Name, Email) VALUES ('$name', '$email')";
    
    if (mysqli_query($conn, $sql)) {
        echo "Registration successful!";
    } else {
        echo "Error: " . mysqli_error($conn);
    }
}
mysqli_close($conn);
?>

Master G.C.E. Advanced Level ICT

Learn the complete 14-unit ICT syllabus from the basics with expert tuition by Teran Subasinghe (UK QTS). Physical classes in Colombo (Sasip Nugegoda, Shakthi Bambalapitiya) and Online Islandwide.