Course Content
KM-01: Hypertext Markup Language (HTML) Basics
This module introduces learners to the foundational concepts required to begin working with HTML programming. It covers basic computer concepts, the introduction to HTML programming, suitable Integrated Development Environments (IDEs), Git and GitHub, problem-solving in programming, the life cycle for developing a solution, and an overview of the look and feel of a website. The module builds the learner’s understanding of the fundamentals of HTML as a programming language and prepares them for more detailed HTML document structure, styling, and practical web development work in later modules.
0/15
KM-02: HTML Programming Principles
This module builds on the foundational knowledge from KM-01 and focuses on the core principles of HTML programming. It introduces learners to the structure of an HTML document, including tags, elements, and attributes, and how these are used to organise and present content on web pages. The module also covers HTML data types, text formatting, tables, file and folder structures, and semantic organisation of content. In addition, learners are introduced to how web pages communicate with remote servers. By the end of this module, learners will have a solid understanding of how to create well-structured, readable, and functional HTML documents that form the backbone of web development.
0/21
KM-03: HTML and Cascading Style Sheets (CSS) Styling Principles
This module introduces learners to the principles of styling web pages using Cascading Style Sheets (CSS). While HTML provides the structure of a webpage, CSS is used to control the appearance, layout, and visual presentation. Learners will develop the ability to design visually appealing and user-friendly web pages by applying styling techniques such as colours, fonts, spacing, layouts, and responsive design. The module also introduces HTML forms, which are used to collect user input and are an important part of interactive web applications. By the end of this module, learners will be able to apply CSS styling principles to improve the readability, usability, and overall user experience of web pages.
0/7
KM-04: HTML Intermediate Programming Functionalities
This module builds on foundational HTML knowledge and introduces learners to more advanced and interactive web development features. Learners will explore how to create dynamic and interactive web pages using HTML5 functionalities and APIs, as well as how to work with multimedia, offline capabilities, and modern web technologies. The module focuses on improving user experience and preparing learners for real-world web development environments.
0/15
WM-01: Workplace Module
Introduction to Workplace Modules Workplace Modules are designed to ensure that learners: -Apply their skills in a real or simulated work environment -Demonstrate industry readiness -Perform tasks aligned with real job roles
0/1
HTML Programmer

Lesson Outcomes

After completing this lesson, learners will be able to:

  • Explain what HTML5 APIs are.
  • Describe how HTML5 enables interactivity in web pages.
  • Identify common HTML5 APIs.
  • Understand how APIs enhance user experience.
  • Apply basic HTML5 interactive features.

Overview

Modern websites are not just static pages — they are interactive and dynamic.

HTML5 introduced powerful features called APIs (Application Programming Interfaces) that allow web pages to interact with users and systems in more advanced ways.

These APIs enable features such as:

  • Location services
  • Drag-and-drop functionality
  • Storage of data in the browser
  • Multimedia interaction

This lesson introduces learners to how HTML5 APIs are used to create interactive web experiences.


1. What are HTML5 APIs?

HTML5 APIs are built-in features that allow developers to add advanced functionality to web pages without needing external tools.

An API allows different software components to communicate with each other.

Key Characteristics

  • Built into modern browsers
  • Enhance functionality of web pages
  • Allow interaction with user devices and data

2. Purpose of HTML5 APIs

HTML5 APIs are used to make websites more interactive and user-friendly.

Benefits

  • Improve user experience
  • Enable dynamic content
  • Reduce reliance on external plugins
  • Allow real-time interaction

3. Common HTML5 APIs

HTML5 includes several APIs used in web development.


3.1 Geolocation API

Used to get the user’s location.

Examples of use:

  • Maps
  • Location-based services

3.2 Drag and Drop API

Allows users to drag and drop elements on a webpage.

Examples:

  • Moving items
  • Uploading files

3.3 Web Storage API

Stores data in the browser.

Types:

  • Local Storage → stores data permanently
  • Session Storage → stores data temporarily

3.4 Canvas API

Used to draw graphics on a webpage.

Examples:

  • Animations
  • Games
  • Charts

3.5 Multimedia APIs

Used to control audio and video elements.

Examples:

  • Play, pause, and control media
  • Interactive video content

4. How HTML5 APIs Create Interactivity

HTML5 APIs allow web pages to respond to user actions.

Examples include:

  • Clicking buttons
  • Dragging objects
  • Entering data
  • Playing media

These actions create a more engaging user experience.


5. Importance of HTML5 APIs

HTML5 APIs are important because they:

  • Enable modern web features
  • Improve website functionality
  • Support interactive design
  • Enhance user engagement

They are widely used in real-world web applications.


6. Examples of Interactive Features

HTML5 APIs support features such as:

  • Interactive maps
  • File uploads
  • Dynamic forms
  • Real-time updates

These features make websites more powerful and user-friendly.


Key Notes

  • HTML5 APIs add advanced functionality to web pages.
  • APIs allow communication between different systems.
  • Common APIs include Geolocation, Drag and Drop, Web Storage, Canvas, and Multimedia.
  • HTML5 APIs improve interactivity and user experience.
  • They are built into modern web browsers.
  • Interactive features respond to user actions.
Scroll to Top